aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui')
-rw-r--r--addressbook/gui/widgets/eab-config.c5
-rw-r--r--addressbook/gui/widgets/eab-config.h2
2 files changed, 3 insertions, 4 deletions
diff --git a/addressbook/gui/widgets/eab-config.c b/addressbook/gui/widgets/eab-config.c
index 0a1e7aba18..ad15f1cca9 100644
--- a/addressbook/gui/widgets/eab-config.c
+++ b/addressbook/gui/widgets/eab-config.c
@@ -124,11 +124,10 @@ eab_config_class_init (EABConfigClass *class)
}
EABConfig *
-eab_config_new (gint type,
- const gchar *menuid)
+eab_config_new (const gchar *menuid)
{
EABConfig *ecp = g_object_new (eab_config_get_type (), NULL);
- e_config_construct (&ecp->config, type, menuid);
+ e_config_construct (&ecp->config, menuid);
return ecp;
}
diff --git a/addressbook/gui/widgets/eab-config.h b/addressbook/gui/widgets/eab-config.h
index 83c08b4172..55612ec65a 100644
--- a/addressbook/gui/widgets/eab-config.h
+++ b/addressbook/gui/widgets/eab-config.h
@@ -72,7 +72,7 @@ struct _EABConfigTargetPrefs {
typedef struct _EConfigItem EABConfigItem;
GType eab_config_get_type (void);
-EABConfig *eab_config_new (gint type, const gchar *menuid);
+EABConfig *eab_config_new (const gchar *menuid);
EABConfigTargetSource *eab_config_target_new_source (EABConfig *ecp, ESource *source);
EABConfigTargetPrefs *eab_config_target_new_prefs (EABConfig *ecp, GSettings *settings);