diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-07-01 00:42:55 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-07-01 00:42:55 +0800 |
commit | be69a3913cac46922111a87e7e813647573de089 (patch) | |
tree | ddd9d444e065a54452176b6ae72e9e221f0fc730 | |
parent | 75ec784e5d33162a675bb2721f4bafae0a0b7227 (diff) | |
download | gsoc2013-evolution-be69a3913cac46922111a87e7e813647573de089.tar.gz gsoc2013-evolution-be69a3913cac46922111a87e7e813647573de089.tar.zst gsoc2013-evolution-be69a3913cac46922111a87e7e813647573de089.zip |
EConfig: More cleanups.
-rw-r--r-- | e-util/e-config.h | 25 |
1 files changed, 19 insertions, 6 deletions
diff --git a/e-util/e-config.h b/e-util/e-config.h index 7daf83fa07..5019acde00 100644 --- a/e-util/e-config.h +++ b/e-util/e-config.h @@ -57,13 +57,24 @@ typedef struct _EConfigItem EConfigItem; typedef struct _EConfigFactory EConfigFactory; typedef struct _EConfigTarget EConfigTarget; -typedef void (*EConfigFactoryFunc)(EConfig *ec, gpointer data); +typedef void (*EConfigFactoryFunc) (EConfig *ec, + gpointer data); -typedef gboolean (*EConfigCheckFunc)(EConfig *ec, const gchar *pageid, gpointer data); +typedef gboolean + (*EConfigCheckFunc) (EConfig *ec, + const gchar *pageid, + gpointer data); -typedef void (*EConfigItemsFunc)(EConfig *ec, GSList *items, gpointer data); +typedef void (*EConfigItemsFunc) (EConfig *ec, + GSList *items, + gpointer data); -typedef GtkWidget * (*EConfigItemFactoryFunc)(EConfig *ec, EConfigItem *, GtkWidget *parent, GtkWidget *old, gpointer data); +typedef GtkWidget * + (*EConfigItemFactoryFunc) (EConfig *ec, + EConfigItem *item, + GtkWidget *parent, + GtkWidget *old, + gpointer data); /* ok so this is all a bit bogussy we need to map to glade stuff instead */ @@ -290,8 +301,10 @@ typedef struct _EPluginHookTargetKey EConfigHookTargetMask; typedef struct _EConfigHookItemFactoryData EConfigHookItemFactoryData; typedef struct _EConfigHookPageCheckData EConfigHookPageCheckData; -typedef void (*EConfigHookFunc)(struct _EPlugin *plugin, EConfigTarget *target); -typedef void (*EConfigHookItemFactoryFunc)(struct _EPlugin *plugin, EConfigHookItemFactoryData *data); +typedef void (*EConfigHookFunc) (EPlugin *plugin, + EConfigTarget *target); +typedef void (*EConfigHookItemFactoryFunc) (EPlugin *plugin, + EConfigHookItemFactoryData *data); /** * struct _EConfigHookItemFactoryData - Factory marshalling structure. |