aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/exchange-operations/exchange-delegates-user.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-delegates-user.c
parenta45f6f67a7e8569fbe8f2a5a635a35d1836ac1a9 (diff)
downloadgsoc2013-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-delegates-user.c')
-rw-r--r--plugins/exchange-operations/exchange-delegates-user.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/exchange-operations/exchange-delegates-user.c b/plugins/exchange-operations/exchange-delegates-user.c
index 38f82563e5..4b0913045c 100644
--- a/plugins/exchange-operations/exchange-delegates-user.c
+++ b/plugins/exchange-operations/exchange-delegates-user.c
@@ -215,11 +215,11 @@ exchange_delegates_user_edit (ExchangeDelegatesUser *user,
g_object_weak_ref (G_OBJECT (parent_window),
parent_window_destroyed, dialog);
g_object_add_weak_pointer (G_OBJECT (parent_window),
- (void **)&parent_window);
+ (gpointer*)&parent_window);
button = gtk_dialog_run (GTK_DIALOG (dialog));
if (parent_window) {
g_object_remove_weak_pointer (G_OBJECT (parent_window),
- (void **)&parent_window);
+ (gpointer *)&parent_window);
g_object_weak_unref (G_OBJECT (parent_window),
parent_window_destroyed, dialog);
}
@@ -324,9 +324,9 @@ exchange_delegates_user_new_from_gc (E2kGlobalCatalog *gc,
p--;
g_byte_array_append (user->entryid, creator_entryid->data,
p - creator_entryid->data + 1);
- g_byte_array_append (user->entryid, entry->legacy_exchange_dn,
+ g_byte_array_append (user->entryid, (guint8*)entry->legacy_exchange_dn,
strlen (entry->legacy_exchange_dn));
- g_byte_array_append (user->entryid, "", 1);
+ g_byte_array_append (user->entryid, (guint8*)"", 1);
return user;
}