[gnome-control-center] datetime: Fix compile-time warning



commit 1bac073929eb75196e6476eaa5817dee3cf82a22
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Sep 20 18:21:03 2010 +0100

    datetime: Fix compile-time warning

 panels/datetime/tz.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/datetime/tz.c b/panels/datetime/tz.c
index 80efa76..3e6c8ae 100644
--- a/panels/datetime/tz.c
+++ b/panels/datetime/tz.c
@@ -141,7 +141,7 @@ tz_location_free (TzLocation *loc)
 void
 tz_db_free (TzDB *db)
 {
-	g_ptr_array_foreach (db->locations, tz_location_free, NULL);
+	g_ptr_array_foreach (db->locations, (GFunc) tz_location_free, NULL);
 	g_ptr_array_free (db->locations, TRUE);
 	g_free (db);
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]