From ba263d1aceb348eb6a28bb6a07d3f2e9abc351a8 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Wed, 24 Aug 2005 03:15:13 +0000 Subject: def9ine before defining. 2005-08-23 Not Zed * groupwise-account-setup.c (org_gnome_groupwise_account_setup): def9ine before defining. * camel-gw-listener.c (account_added): fix warning. svn path=/trunk/; revision=30231 --- plugins/groupwise-account-setup/ChangeLog | 7 +++++++ plugins/groupwise-account-setup/camel-gw-listener.c | 2 +- plugins/groupwise-account-setup/groupwise-account-setup.c | 4 ++-- 3 files changed, 10 insertions(+), 3 deletions(-) (limited to 'plugins/groupwise-account-setup') diff --git a/plugins/groupwise-account-setup/ChangeLog b/plugins/groupwise-account-setup/ChangeLog index 7ce45ca221..7d2fe3a9f4 100644 --- a/plugins/groupwise-account-setup/ChangeLog +++ b/plugins/groupwise-account-setup/ChangeLog @@ -1,3 +1,10 @@ +2005-08-23 Not Zed + + * groupwise-account-setup.c (org_gnome_groupwise_account_setup): + def9ine before defining. + + * camel-gw-listener.c (account_added): fix warning. + 2005-07-27 Sankar P * camel-gw-listener.c (get_addressbook_names_from_server) : diff --git a/plugins/groupwise-account-setup/camel-gw-listener.c b/plugins/groupwise-account-setup/camel-gw-listener.c index c2f6e0c7c2..e2d3784f88 100644 --- a/plugins/groupwise-account-setup/camel-gw-listener.c +++ b/plugins/groupwise-account-setup/camel-gw-listener.c @@ -803,7 +803,7 @@ account_added (EAccountList *account_listener, EAccount *account) info->name = g_strdup (account->name); info->source_url = g_strdup (account->source->url); if (account->parent_uid) { - parent = e_account_list_find (account_listener, E_ACCOUNT_FIND_UID, account->parent_uid); + parent = (EAccount *)e_account_list_find (account_listener, E_ACCOUNT_FIND_UID, account->parent_uid); if (!parent) return; diff --git a/plugins/groupwise-account-setup/groupwise-account-setup.c b/plugins/groupwise-account-setup/groupwise-account-setup.c index 863f8c4525..82f7829485 100644 --- a/plugins/groupwise-account-setup/groupwise-account-setup.c +++ b/plugins/groupwise-account-setup/groupwise-account-setup.c @@ -52,11 +52,11 @@ e_plugin_lib_enable (EPluginLib *ep, int enable) } +GtkWidget * org_gnome_groupwise_account_setup(struct _EPlugin *epl, struct _EConfigHookItemFactoryData *data); + GtkWidget * org_gnome_groupwise_account_setup(struct _EPlugin *epl, struct _EConfigHookItemFactoryData *data) { - GtkWidget *w; - if (data->old) return data->old; /* FIXME, with new soap camel provider we don't need extra settings in receiving options page, Remove them -- cgit