gnome-panel r11015 - trunk/applets/clock



Author: vuntz
Date: Tue Apr  8 17:03:50 2008
New Revision: 11015
URL: http://svn.gnome.org/viewvc/gnome-panel?rev=11015&view=rev

Log:
Missing comments from last commit.


Modified:
   trunk/applets/clock/clock-zonetable.c

Modified: trunk/applets/clock/clock-zonetable.c
==============================================================================
--- trunk/applets/clock/clock-zonetable.c	(original)
+++ trunk/applets/clock/clock-zonetable.c	Tue Apr  8 17:03:50 2008
@@ -296,6 +296,8 @@
                         continue;
 
                 priv->list = g_list_prepend (priv->list, info);
+		/* note that it's fine to cast to char * since the
+		 * ClockZoneinfo object is ref'ed from inside the hash table */
                 g_hash_table_replace (priv->table,
                                       (char *) clock_zoneinfo_get_name (info),
                                       g_object_ref_sink (info));
@@ -341,6 +343,8 @@
                         continue;
 
                 priv->country_list = g_list_prepend (priv->country_list, info);
+		/* note that it's fine to cast to char * since the
+		 * ClockCountry object is ref'ed from inside the hash table */
                 g_hash_table_replace (priv->country_table,
                                       (char *) clock_country_get_code (info),
                                       g_object_ref_sink (info));



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