aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@src.gnome.org>2009-02-02 11:39:24 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2009-02-02 11:39:24 +0800
commit38c8ce1aac739a3e74448ff5ed7fa2e003a9cc28 (patch)
tree8cbc3bcc756380e222510848ca94f34d087357d6 /calendar/gui/dialogs
parent533cd49bc6475ef48ad5eb6a93d0f58450b3c9e8 (diff)
downloadgsoc2013-evolution-38c8ce1aac739a3e74448ff5ed7fa2e003a9cc28.tar.gz
gsoc2013-evolution-38c8ce1aac739a3e74448ff5ed7fa2e003a9cc28.tar.zst
gsoc2013-evolution-38c8ce1aac739a3e74448ff5ed7fa2e003a9cc28.zip
Fix compiler warnings.
svn path=/trunk/; revision=37206
Diffstat (limited to 'calendar/gui/dialogs')
-rw-r--r--calendar/gui/dialogs/event-page.c4
-rw-r--r--calendar/gui/dialogs/task-details-page.c2
-rw-r--r--calendar/gui/dialogs/task-page.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/calendar/gui/dialogs/event-page.c b/calendar/gui/dialogs/event-page.c
index d0e6cad470..4ea1bbde7b 100644
--- a/calendar/gui/dialogs/event-page.c
+++ b/calendar/gui/dialogs/event-page.c
@@ -1490,14 +1490,14 @@ event_page_fill_timezones (CompEditorPage *page, GHashTable *timezones)
zone = e_timezone_entry_get_timezone (E_TIMEZONE_ENTRY (priv->start_timezone));
if (zone) {
if (!g_hash_table_lookup (timezones, icaltimezone_get_tzid (zone)))
- g_hash_table_insert (timezones, icaltimezone_get_tzid (zone), zone);
+ g_hash_table_insert (timezones, (gpointer) icaltimezone_get_tzid (zone), zone);
}
/* add end date timezone */
zone = e_timezone_entry_get_timezone (E_TIMEZONE_ENTRY (priv->end_timezone));
if (zone) {
if (!g_hash_table_lookup (timezones, icaltimezone_get_tzid (zone)))
- g_hash_table_insert (timezones, icaltimezone_get_tzid (zone), zone);
+ g_hash_table_insert (timezones, (gpointer) icaltimezone_get_tzid (zone), zone);
}
return TRUE;
diff --git a/calendar/gui/dialogs/task-details-page.c b/calendar/gui/dialogs/task-details-page.c
index af137761d5..a2be1381a6 100644
--- a/calendar/gui/dialogs/task-details-page.c
+++ b/calendar/gui/dialogs/task-details-page.c
@@ -430,7 +430,7 @@ task_details_page_fill_timezones (CompEditorPage *page, GHashTable *timezones)
zone = icaltimezone_get_utc_timezone ();
if (zone) {
if (!g_hash_table_lookup (timezones, icaltimezone_get_tzid (zone)))
- g_hash_table_insert (timezones, icaltimezone_get_tzid (zone), zone);
+ g_hash_table_insert (timezones, (gpointer) icaltimezone_get_tzid (zone), zone);
}
return TRUE;
diff --git a/calendar/gui/dialogs/task-page.c b/calendar/gui/dialogs/task-page.c
index c00a42f4bc..091a7b50d2 100644
--- a/calendar/gui/dialogs/task-page.c
+++ b/calendar/gui/dialogs/task-page.c
@@ -1353,7 +1353,7 @@ task_page_fill_timezones (CompEditorPage *page, GHashTable *timezones)
zone = e_timezone_entry_get_timezone (E_TIMEZONE_ENTRY (priv->timezone));
if (zone) {
if (!g_hash_table_lookup (timezones, icaltimezone_get_tzid (zone)))
- g_hash_table_insert (timezones, icaltimezone_get_tzid (zone), zone);
+ g_hash_table_insert (timezones, (gpointer) icaltimezone_get_tzid (zone), zone);
}
return TRUE;