gnome-panel r11010 - trunk/applets/clock



Author: vuntz
Date: Tue Apr  8 14:55:10 2008
New Revision: 11010
URL: http://svn.gnome.org/viewvc/gnome-panel?rev=11010&view=rev

Log:
2008-04-08  Vincent Untz  <vuntz gnome org>

	* clock-map.c: (clock_map_new), (clock_map_init): minor cleanup


Modified:
   trunk/applets/clock/ChangeLog
   trunk/applets/clock/clock-map.c

Modified: trunk/applets/clock/clock-map.c
==============================================================================
--- trunk/applets/clock/clock-map.c	(original)
+++ trunk/applets/clock/clock-map.c	Tue Apr  8 14:55:10 2008
@@ -73,10 +73,8 @@
 clock_map_new (void)
 {
         ClockMap *this;
-        ClockMapPrivate *priv;
 
         this = g_object_new (CLOCK_MAP_TYPE, NULL);
-        priv = PRIVATE (this);
 
         clock_map_refresh (this);
 
@@ -131,6 +129,7 @@
         priv->stock_map_pixbuf = NULL;
 
         g_assert (sizeof (marker_files)/sizeof (char *) == MARKER_NB);
+
         for (i = 0; i < MARKER_NB; i++) {
                 priv->location_marker_pixbuf[i] = gdk_pixbuf_new_from_file
                                                   (marker_files[i], NULL);



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