gboolean insensitive;
} EntryIconInfo;
-typedef struct _GtkIconEntryPrivate
+struct _GtkIconEntryPrivate
{
gdouble fraction;
EntryIconInfo icons[MAX_ICONS];
gulong icon_released_id;
-} GtkIconEntryPrivate;
+};
enum
{
GTK_WIDGET_CLASS (parent_class)->map (widget);
- priv = widget->priv;
+ priv = GTK_ICON_ENTRY (widget)->priv;
for (i = 0; i < MAX_ICONS; i++)
{
{
int i;
- priv = widget->priv;
+ priv = GTK_ICON_ENTRY (widget)->priv;
for (i = 0; i < MAX_ICONS; i++)
{
GTK_ICON_ENTRY_SECONDARY
} GtkIconEntryPosition;
-typedef struct _GtkIconEntry GtkIconEntry;
-typedef struct _GtkIconEntryClass GtkIconEntryClass;
+typedef struct _GtkIconEntry GtkIconEntry;
+typedef struct _GtkIconEntryClass GtkIconEntryClass;
+typedef struct _GtkIconEntryPrivate GtkIconEntryPrivate;
struct _GtkIconEntry
{
GtkEntry parent_object;
+
+ GtkIconEntryPrivate* priv;
};
struct _GtkIconEntryClass