diff options
author | Sarfraaz Ahmed <asarfraaz@novell.com> | 2005-07-14 19:18:35 +0800 |
---|---|---|
committer | Ahmed Sarfraaz <sarfraaz@src.gnome.org> | 2005-07-14 19:18:35 +0800 |
commit | 6719396397c43cbacf8688a366029b98d563f990 (patch) | |
tree | d7bd9cab28f116734f830cf2c8b8b490b50c7e39 | |
parent | a714a01aeb70692229f0994d1530b6c9dadd1f29 (diff) | |
download | gsoc2013-evolution-6719396397c43cbacf8688a366029b98d563f990.tar.gz gsoc2013-evolution-6719396397c43cbacf8688a366029b98d563f990.tar.zst gsoc2013-evolution-6719396397c43cbacf8688a366029b98d563f990.zip |
Fixed some compile time warnings
2005-07-14 Sarfraaz Ahmed <asarfraaz@novell.com>
* exchange-account-setup.c :
* exchange-calendar.c :
* exchange-folder-size-display.c :
* exchange-permissions-dialog.c : Fixed some compile time warnings
svn path=/trunk/; revision=29769
5 files changed, 17 insertions, 19 deletions
diff --git a/plugins/exchange-operations/ChangeLog b/plugins/exchange-operations/ChangeLog index cdc95c184d..2d9099e0bb 100644 --- a/plugins/exchange-operations/ChangeLog +++ b/plugins/exchange-operations/ChangeLog @@ -1,3 +1,10 @@ +2005-07-14 Sarfraaz Ahmed <asarfraaz@novell.com> + + * exchange-account-setup.c : + * exchange-calendar.c : + * exchange-folder-size-display.c : + * exchange-permissions-dialog.c : Fixed some compile time warnings + 2005-07-13 Shakti Sen <shprasad@novell.com> * exchange-operations.c: Checked for if the exchange account diff --git a/plugins/exchange-operations/exchange-account-setup.c b/plugins/exchange-operations/exchange-account-setup.c index f49a9f0d63..8985669589 100644 --- a/plugins/exchange-operations/exchange-account-setup.c +++ b/plugins/exchange-operations/exchange-account-setup.c @@ -37,16 +37,17 @@ #include <camel/camel-url.h> #include <camel/camel-service.h> #include <libedataserver/e-xml-hash-utils.h> -#include <exchange/e2k-validate.h> -#include <exchange/exchange-oof.h> -#include <exchange/exchange-account.h> #include <e-util/e-dialog-utils.h> +#include <e2k-validate.h> +#include <exchange-oof.h> +#include <exchange-account.h> #include "exchange-config-listener.h" #include "exchange-operations.h" #include "exchange-folder-size-display.h" #include "mail/em-account-editor.h" #include "mail/em-config.h" #include "exchange-delegates.h" +#include "exchange-change-password.h" #define ERROR_DOMAIN "org-gnome-exchange-operations" @@ -524,12 +525,6 @@ owa_editor_entry_changed(GtkWidget *entry, EConfig *config) g_free(url_string); } -static void -destroy_label(GtkWidget *old, GtkWidget *label) -{ - gtk_widget_destroy(label); -} - static char * construct_owa_url (CamelURL *url) { diff --git a/plugins/exchange-operations/exchange-calendar.c b/plugins/exchange-operations/exchange-calendar.c index 6e4c50aa28..d078089910 100644 --- a/plugins/exchange-operations/exchange-calendar.c +++ b/plugins/exchange-operations/exchange-calendar.c @@ -129,21 +129,20 @@ GtkWidget * e_exchange_calendar_pcalendar (EPlugin *epl, EConfigHookItemFactoryData *data) { static GtkWidget *lbl_pcalendar, *scrw_pcalendar, *tv_pcalendar; + static GtkWidget *hidden = NULL; GtkWidget *parent; GtkTreeStore *ts_pcalendar; GtkCellRenderer *cr_calendar; GtkTreeViewColumn *tvc_calendar; GPtrArray *callist; - gchar *ruri; - ExchangeAccount *account; - gchar *account_name; - ECalSourceType *type; - int row, i; ECalConfigTargetSource *t = (ECalConfigTargetSource *) data->target; EUri *uri; + ExchangeAccount *account; + gchar *ruri; + gchar *account_name; gchar *uri_text; gboolean src_exists = TRUE; - static GtkWidget *hidden = NULL; + int row, i; if (!hidden) hidden = gtk_label_new (""); diff --git a/plugins/exchange-operations/exchange-folder-size-display.c b/plugins/exchange-operations/exchange-folder-size-display.c index 5ac97e7077..a9a7247b7e 100644 --- a/plugins/exchange-operations/exchange-folder-size-display.c +++ b/plugins/exchange-operations/exchange-folder-size-display.c @@ -75,7 +75,6 @@ exchange_folder_size_display (GtkListStore *model, GtkWidget *parent) GtkTreeViewColumn *column; GtkTreeSortable *sortable; GtkCellRenderer *cell; - GHashTable *folder_size_table; GladeXML *xml; GtkWidget *dialog, *table; GList *l; diff --git a/plugins/exchange-operations/exchange-permissions-dialog.c b/plugins/exchange-operations/exchange-permissions-dialog.c index f707f30382..ca4f8ba307 100644 --- a/plugins/exchange-operations/exchange-permissions-dialog.c +++ b/plugins/exchange-operations/exchange-permissions-dialog.c @@ -381,16 +381,14 @@ static void add_clicked (GtkButton *button, gpointer user_data) { ExchangePermissionsDialog *dialog = user_data; - GtkWidget *user_dialog; E2kGlobalCatalog *gc; E2kGlobalCatalogStatus status; E2kGlobalCatalogEntry *entry; E2kSid *sid2; + GtkTreeIter iter; const guint8 *bsid, *bsid2; char *email = NULL; - int result; gboolean valid; - GtkTreeIter iter; gc = exchange_account_get_global_catalog (dialog->priv->account); if (!gc) { |