From 15376b6657c77d4f701367c4f14bed653201fe26 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 10 Aug 2011 15:58:39 -0400 Subject: EConfig: Broadcast abort/commit events by way of signals. Remove the clumsy abortfunc and commitfunc callback arguments from e_config_add_items(). --- modules/mail/em-composer-prefs.c | 2 +- modules/mail/em-mailer-prefs.c | 2 +- modules/mail/em-network-prefs.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/mail') diff --git a/modules/mail/em-composer-prefs.c b/modules/mail/em-composer-prefs.c index 2703a8d9e4..f8825f701c 100644 --- a/modules/mail/em-composer-prefs.c +++ b/modules/mail/em-composer-prefs.c @@ -350,7 +350,7 @@ em_composer_prefs_construct (EMComposerPrefs *prefs, l = NULL; for (i = 0; i < G_N_ELEMENTS (emcp_items); i++) l = g_slist_prepend (l, &emcp_items[i]); - e_config_add_items ((EConfig *) ec, l, NULL, NULL, emcp_free, prefs); + e_config_add_items ((EConfig *) ec, l, emcp_free, prefs); /* General tab */ diff --git a/modules/mail/em-mailer-prefs.c b/modules/mail/em-mailer-prefs.c index bbf65e36b5..62d9377bc1 100644 --- a/modules/mail/em-mailer-prefs.c +++ b/modules/mail/em-mailer-prefs.c @@ -719,7 +719,7 @@ em_mailer_prefs_construct (EMMailerPrefs *prefs, l = NULL; for (i = 0; i < G_N_ELEMENTS (emmp_items); i++) l = g_slist_prepend (l, &emmp_items[i]); - e_config_add_items ((EConfig *) ec, l, NULL, NULL, emmp_free, prefs); + e_config_add_items ((EConfig *) ec, l, emmp_free, prefs); /* General tab */ diff --git a/modules/mail/em-network-prefs.c b/modules/mail/em-network-prefs.c index d33f71ec6c..e12bb3c9c2 100644 --- a/modules/mail/em-network-prefs.c +++ b/modules/mail/em-network-prefs.c @@ -335,7 +335,7 @@ em_network_prefs_construct (EMNetworkPrefs *prefs) l = NULL; for (i = 0; i < G_N_ELEMENTS (emnp_items); i++) l = g_slist_prepend (l, &emnp_items[i]); - e_config_add_items ((EConfig *) ec, l, NULL, NULL, emnp_free, prefs); + e_config_add_items ((EConfig *) ec, l, emnp_free, prefs); /* Proxy tab */ -- cgit