+2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
+
+ * src/hildon-note-private.h:
+ * src/hildon-note.c: (hildon_note_set_property),
+ (hildon_note_get_property), (hildon_note_class_init),
+ (hildon_note_init), (hildon_note_finalize),
+ (hildon_note_new_confirmation_with_icon_name),
+ (hildon_note_new_information_with_icon_name):
+
+ No need to mark as deprecated the actual code. Revert
+ to avoid missing symbols in widgets using deprecated API.
+
2008-11-20 Alberto Garcia <agarcia@igalia.com>
Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
#include <X11/Xatom.h>
#include <gdk/gdkx.h>
+#undef HILDON_DISABLE_DEPRECATED
+
#include "hildon-note.h"
#include "hildon-defines.h"
#include "hildon-sound.h"
PROP_0,
PROP_HILDON_NOTE_TYPE,
PROP_HILDON_NOTE_DESCRIPTION,
-#ifndef HILDON_DISABLE_DEPRECATED
PROP_HILDON_NOTE_ICON,
-#endif
PROP_HILDON_NOTE_PROGRESSBAR,
-#ifndef HILDON_DISABLE_DEPRECATED
PROP_HILDON_NOTE_STOCK_ICON
-#endif
};
static GtkDialogClass* parent_class;
break;
-#ifndef HILDON_DISABLE_DEPRECATED
case PROP_HILDON_NOTE_ICON:
if (priv->icon) {
g_free (priv->icon);
}
priv->stock_icon = g_value_dup_string (value);
break;
-#endif
case PROP_HILDON_NOTE_PROGRESSBAR:
widget = g_value_get_object (value);
g_value_set_string (value, priv->original_description);
break;
-#ifndef HILDON_DISABLE_DEPRECATED
case PROP_HILDON_NOTE_ICON:
g_value_set_string (value, priv->icon);
break;
case PROP_HILDON_NOTE_STOCK_ICON:
g_value_set_string (value, priv->stock_icon);
break;
-#endif
+
case PROP_HILDON_NOTE_PROGRESSBAR:
g_value_set_object (value, priv->progressbar);
break;
"",
G_PARAM_READWRITE));
-#ifndef HILDON_DISABLE_DEPRECATED
/**
* HildonNote:icon:
*
"The stock name of the icon that appears in the note dialog",
"",
G_PARAM_READWRITE));
-#endif
/**
* HildonNote:progressbar:
priv->label = gtk_label_new (NULL);
gtk_label_set_line_wrap (GTK_LABEL (priv->label), TRUE);
-#ifndef HILDON_DISABLE_DEPRECATED
priv->icon = NULL;
priv->stock_icon = NULL;
-#endif
/* Acquire real references to our internal children, since
they are not nessecarily packed into container in each
if (priv->label)
g_object_unref (priv->label);
-#ifndef HILDON_DISABLE_DEPRECATED
if (priv->icon) {
g_free (priv->icon);
priv->icon = NULL;
g_free (priv->stock_icon);
priv->stock_icon = NULL;
}
-#endif
if (priv->progressbar)
g_object_unref (priv->progressbar);
return dialog;
}
-#ifndef HILDON_DISABLE_DEPRECATED
/**
* hildon_note_new_confirmation_with_icon_name:
* @parent: the parent window. The X window ID of the parent window
{
return hildon_note_new_confirmation (parent, description);
}
-#endif
/**
* hildon_note_new_information:
return dialog;
}
-#ifndef HILDON_DISABLE_DEPRECATED
/**
* hildon_note_new_information_with_icon_name:
* @parent: the parent window. The X window ID of the parent window
{
return hildon_note_new_information (parent, description);
}
-#endif
/* FIXME This documentation string LIES! */