From 748c73de0f477c154d6c120d4d27e676ae887a03 Mon Sep 17 00:00:00 2001 From: Praveen Kumar Date: Wed, 24 Aug 2005 09:43:41 +0000 Subject: Removed the warning that are generated when compiled with GCC 4. 2005-08-24 Praveen Kumar * plugins/exchange-operations/exchange-account-setup.c: * plugins/exchange-operations/exchange-calendar.c: * plugins/exchange-operations/exchange-config-listener.c: * plugins/exchange-operations/exchange-contacts.c: * plugins/exchange-operations/exchange-delegates-user.c: * plugins/exchange-operations/exchange-folder-size-display.c: * plugins/exchange-operations/exchange-folder.c: * plugins/exchange-operations/exchange-operations.c: Removed the warning that are generated when compiled with GCC 4. * plugins/exchange-operations/exchange-calendar.c: Fixed a build break due to the modification of the 'source_type' field in the ECalConfigTargetSource class. svn path=/trunk/; revision=30237 --- plugins/exchange-operations/exchange-account-setup.c | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'plugins/exchange-operations/exchange-account-setup.c') diff --git a/plugins/exchange-operations/exchange-account-setup.c b/plugins/exchange-operations/exchange-account-setup.c index ae3f23fd16..505e4b0350 100644 --- a/plugins/exchange-operations/exchange-account-setup.c +++ b/plugins/exchange-operations/exchange-account-setup.c @@ -155,7 +155,6 @@ btn_fsize_clicked (GtkButton *button, gpointer data) { ExchangeAccount *account; GtkListStore *model; - GSList *acclist; account = exchange_operations_get_exchange_account (); @@ -902,7 +901,7 @@ org_gnome_exchange_show_folder_size_factory (EPlugin *epl, EConfigHookItemFactor GtkHBox *hbx_size; char *folder_name, *folder_size; - folder_name = camel_folder_get_name (cml_folder); + folder_name = (char*) camel_folder_get_name (cml_folder); if (!folder_name) folder_name = g_strdup ("name"); account = exchange_operations_get_exchange_account (); @@ -912,8 +911,8 @@ org_gnome_exchange_show_folder_size_factory (EPlugin *epl, EConfigHookItemFactor else folder_size = g_strdup ("0 KB"); - hbx_size = gtk_hbox_new (FALSE, 0); - vbx = (GtkVBox *)gtk_notebook_get_nth_page (data->parent, 0); + hbx_size = (GtkHBox*) gtk_hbox_new (FALSE, 0); + vbx = (GtkVBox *)gtk_notebook_get_nth_page (GTK_NOTEBOOK (data->parent), 0); lbl_size = gtk_label_new_with_mnemonic (_("Size:")); lbl_size_val = gtk_label_new_with_mnemonic (_(folder_size)); @@ -921,12 +920,12 @@ org_gnome_exchange_show_folder_size_factory (EPlugin *epl, EConfigHookItemFactor gtk_widget_show (lbl_size_val); gtk_misc_set_alignment (GTK_MISC (lbl_size), 0.0, 0.5); gtk_misc_set_alignment (GTK_MISC (lbl_size_val), 0.0, 0.5); - gtk_box_pack_start (hbx_size, lbl_size, FALSE, TRUE, 12); - gtk_box_pack_start (hbx_size, lbl_size_val, FALSE, TRUE, 10); - gtk_widget_show_all (hbx_size); + gtk_box_pack_start (GTK_BOX (hbx_size), lbl_size, FALSE, TRUE, 12); + gtk_box_pack_start (GTK_BOX (hbx_size), lbl_size_val, FALSE, TRUE, 10); + gtk_widget_show_all (GTK_WIDGET (hbx_size)); - gtk_box_pack_start (GTK_BOX (vbx), hbx_size, FALSE, FALSE, 0); + gtk_box_pack_start (GTK_BOX (vbx), GTK_WIDGET (hbx_size), FALSE, FALSE, 0); g_free (folder_size); - return hbx_size; + return GTK_WIDGET (hbx_size); } -- cgit v1.2.3