From 6719396397c43cbacf8688a366029b98d563f990 Mon Sep 17 00:00:00 2001 From: Sarfraaz Ahmed Date: Thu, 14 Jul 2005 11:18:35 +0000 Subject: Fixed some compile time warnings 2005-07-14 Sarfraaz Ahmed * 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 --- plugins/exchange-operations/ChangeLog | 7 +++++++ plugins/exchange-operations/exchange-account-setup.c | 13 ++++--------- plugins/exchange-operations/exchange-calendar.c | 11 +++++------ plugins/exchange-operations/exchange-folder-size-display.c | 1 - plugins/exchange-operations/exchange-permissions-dialog.c | 4 +--- 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 + + * 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 * 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 #include #include -#include -#include -#include #include +#include +#include +#include #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) { -- cgit v1.2.3