diff options
author | Praveen Kumar <kpraveen@novell.com> | 2005-08-24 17:43:41 +0800 |
---|---|---|
committer | Praveen Kumar <kpraveen@src.gnome.org> | 2005-08-24 17:43:41 +0800 |
commit | 748c73de0f477c154d6c120d4d27e676ae887a03 (patch) | |
tree | 25a4162d2051e59fe9e96e1e260ef78d05c00107 /plugins/exchange-operations/exchange-contacts.c | |
parent | a45f6f67a7e8569fbe8f2a5a635a35d1836ac1a9 (diff) | |
download | gsoc2013-evolution-748c73de0f477c154d6c120d4d27e676ae887a03.tar.gz 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-contacts.c')
-rw-r--r-- | plugins/exchange-operations/exchange-contacts.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/plugins/exchange-operations/exchange-contacts.c b/plugins/exchange-operations/exchange-contacts.c index 6a5cb754ce..8457e3af61 100644 --- a/plugins/exchange-operations/exchange-contacts.c +++ b/plugins/exchange-operations/exchange-contacts.c @@ -165,7 +165,7 @@ e_exchange_contacts_pcontacts (EPlugin *epl, EConfigHookItemFactoryData *data) account_name = account->account_name; hbx_size = NULL; if (contacts_src_exists) { - abook_name = e_source_peek_name (source); + abook_name = (char*)e_source_peek_name (source); model = exchange_account_folder_size_get_model (account); if (model) folder_size = g_strdup_printf ("%s KB", exchange_folder_size_get_val (model, abook_name)); @@ -176,8 +176,8 @@ e_exchange_contacts_pcontacts (EPlugin *epl, EConfigHookItemFactoryData *data) lbl_size = gtk_label_new_with_mnemonic (_("Size:")); lbl_size_val = gtk_label_new_with_mnemonic (_(folder_size)); hbx_size = gtk_hbox_new (FALSE, 0); - gtk_box_pack_start (hbx_size, lbl_size, FALSE, TRUE, 0); - gtk_box_pack_start (hbx_size, lbl_size_val, FALSE, TRUE, 10); + gtk_box_pack_start (GTK_BOX (hbx_size), lbl_size, FALSE, TRUE, 0); + gtk_box_pack_start (GTK_BOX (hbx_size), lbl_size_val, FALSE, TRUE, 10); gtk_widget_show (lbl_size); gtk_widget_show (lbl_size_val); gtk_misc_set_alignment (GTK_MISC (lbl_size), 0.0, 0.5); @@ -228,7 +228,7 @@ e_exchange_contacts_pcontacts (EPlugin *epl, EConfigHookItemFactoryData *data) int prefix_len; GtkTreeSelection *selection; - tmpruri = rel_uri; + tmpruri = (gchar*) rel_uri; uri_prefix = g_strconcat (account->account_filename, "/", NULL); prefix_len = strlen (uri_prefix); @@ -354,6 +354,8 @@ e_exchange_contacts_commit (EPlugin *epl, EConfigTarget *target) case EXCHANGE_ACCOUNT_FOLDER_GENERIC_ERROR: e_error_run (NULL, ERROR_DOMAIN ":folder-generic-error", NULL); break; + default: + break; } g_free (ruri); g_free (path); |