diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-08-11 03:58:39 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-09-14 20:08:48 +0800 |
commit | 911d9f8c6b947d8ac922489fc03b1d063b377973 (patch) | |
tree | 9d5a080bed88e0601e2eec57f9e2073a6f231c26 /e-util/e-config.h | |
parent | bae19960b300c3f39ca093f51576621aacbbc84f (diff) | |
download | gsoc2013-evolution-911d9f8c6b947d8ac922489fc03b1d063b377973.tar gsoc2013-evolution-911d9f8c6b947d8ac922489fc03b1d063b377973.tar.gz gsoc2013-evolution-911d9f8c6b947d8ac922489fc03b1d063b377973.tar.bz2 gsoc2013-evolution-911d9f8c6b947d8ac922489fc03b1d063b377973.tar.lz gsoc2013-evolution-911d9f8c6b947d8ac922489fc03b1d063b377973.tar.xz gsoc2013-evolution-911d9f8c6b947d8ac922489fc03b1d063b377973.tar.zst gsoc2013-evolution-911d9f8c6b947d8ac922489fc03b1d063b377973.zip |
EConfig: Broadcast abort/commit events by way of signals.
Remove the clumsy abortfunc and commitfunc callback arguments from
e_config_add_items().
Diffstat (limited to 'e-util/e-config.h')
-rw-r--r-- | e-util/e-config.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/e-util/e-config.h b/e-util/e-config.h index 338824ec95..f7484e7947 100644 --- a/e-util/e-config.h +++ b/e-util/e-config.h @@ -251,6 +251,10 @@ struct _EConfigClass { EConfigTarget *target); void (*target_free) (EConfig *config, EConfigTarget *target); + + /* Signals */ + void (*abort) (EConfig *config); + void (*commit) (EConfig *config); }; GType e_config_get_type (void); @@ -261,7 +265,7 @@ void e_config_class_remove_factory (EConfigClass *klass, EConfigFactory *f); EConfig *e_config_construct (EConfig *, gint type, const gchar *id); -void e_config_add_items (EConfig *, GSList *items, EConfigItemsFunc commitfunc, EConfigItemsFunc abortfunc, EConfigItemsFunc freefunc, gpointer data); +void e_config_add_items (EConfig *, GSList *items, EConfigItemsFunc freefunc, gpointer data); void e_config_add_page_check (EConfig *, const gchar *pageid, EConfigCheckFunc, gpointer data); void e_config_set_page_is_finish (EConfig *ec, const gchar *pageid, gboolean is_finish); |