diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-06-19 03:26:21 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-06-19 03:26:21 +0800 |
commit | 547e123d2777bd3beba36e74e018efb590ed44d4 (patch) | |
tree | 447712a20cff8bc89e6d6c1d16f0d99b9c1122f5 /e-util/e-config.c | |
parent | 67159043da2de9df576f6a4eaa245e0c3926f004 (diff) | |
download | gsoc2013-evolution-547e123d2777bd3beba36e74e018efb590ed44d4.tar.gz gsoc2013-evolution-547e123d2777bd3beba36e74e018efb590ed44d4.tar.zst gsoc2013-evolution-547e123d2777bd3beba36e74e018efb590ed44d4.zip |
Stop abusing forward declarations.
Diffstat (limited to 'e-util/e-config.c')
-rw-r--r-- | e-util/e-config.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/e-util/e-config.c b/e-util/e-config.c index 9336e778cd..412c00b649 100644 --- a/e-util/e-config.c +++ b/e-util/e-config.c @@ -65,8 +65,8 @@ struct _widget_node { struct _menu_node *context; EConfigItem *item; - struct _GtkWidget *widget; /* widget created by the factory, if any */ - struct _GtkWidget *frame; /* if created by us */ + GtkWidget *widget; /* widget created by the factory, if any */ + GtkWidget *frame; /* if created by us */ guint empty:1; /* set if empty (i.e. hidden) */ }; @@ -892,7 +892,7 @@ ec_dialog_response(GtkWidget *d, gint id, EConfig *ec) * Return value: The window widget. This is also stored in @emp.window. **/ GtkWidget * -e_config_create_window(EConfig *emp, struct _GtkWindow *parent, const gchar *title) +e_config_create_window(EConfig *emp, GtkWindow *parent, const gchar *title) { GtkWidget *w; @@ -1341,7 +1341,7 @@ emph_free_group(struct _EConfigHookGroup *group) g_free(group); } -static struct _GtkWidget * +static GtkWidget * ech_config_widget_factory(EConfig *ec, EConfigItem *item, GtkWidget *parent, GtkWidget *old, gpointer data) { struct _EConfigHookGroup *group = data; @@ -1355,7 +1355,7 @@ ech_config_widget_factory(EConfig *ec, EConfigItem *item, GtkWidget *parent, Gtk hdata.parent = parent; hdata.old = old; - return (struct _GtkWidget *)e_plugin_invoke(group->hook->hook.plugin, (gchar *)item->user_data, &hdata); + return (GtkWidget *)e_plugin_invoke(group->hook->hook.plugin, (gchar *)item->user_data, &hdata); } else return NULL; } |