aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/exchange-operations/exchange-account-setup.c
diff options
context:
space:
mode:
authorPraveen Kumar <kpraveen@novell.com>2005-08-24 17:43:41 +0800
committerPraveen Kumar <kpraveen@src.gnome.org>2005-08-24 17:43:41 +0800
commit748c73de0f477c154d6c120d4d27e676ae887a03 (patch)
tree25a4162d2051e59fe9e96e1e260ef78d05c00107 /plugins/exchange-operations/exchange-account-setup.c
parenta45f6f67a7e8569fbe8f2a5a635a35d1836ac1a9 (diff)
downloadgsoc2013-evolution-748c73de0f477c154d6c120d4d27e676ae887a03.tar
gsoc2013-evolution-748c73de0f477c154d6c120d4d27e676ae887a03.tar.gz
gsoc2013-evolution-748c73de0f477c154d6c120d4d27e676ae887a03.tar.bz2
gsoc2013-evolution-748c73de0f477c154d6c120d4d27e676ae887a03.tar.lz
gsoc2013-evolution-748c73de0f477c154d6c120d4d27e676ae887a03.tar.xz
gsoc2013-evolution-748c73de0f477c154d6c120d4d27e676ae887a03.tar.zst
gsoc2013-evolution-748c73de0f477c154d6c120d4d27e676ae887a03.zip
Removed the warning that are generated when compiled with GCC 4.
2005-08-24 Praveen Kumar <kpraveen@novell.com> * 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
Diffstat (limited to 'plugins/exchange-operations/exchange-account-setup.c')
-rw-r--r--plugins/exchange-operations/exchange-account-setup.c17
1 files changed, 8 insertions, 9 deletions
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);
}