gnome-panel r11027 - trunk/applets/clock



Author: vuntz
Date: Thu Apr 10 04:22:47 2008
New Revision: 11027
URL: http://svn.gnome.org/viewvc/gnome-panel?rev=11027&view=rev

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

	* clock.c: (create_cities_section): do not refresh the tile after
	having created it. It's already fresh when created, so no need to
	refresh. Really small saving (clearly less than 0.01s per tile), but
	obvious thing to do.


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

Modified: trunk/applets/clock/clock.c
==============================================================================
--- trunk/applets/clock/clock.c	(original)
+++ trunk/applets/clock/clock.c	Thu Apr 10 04:22:47 2008
@@ -1136,8 +1136,6 @@
                 g_signal_connect (city, "need-clock-format",
                                   G_CALLBACK (location_tile_need_clock_format_cb), cd);
 
-		clock_location_tile_refresh (city, TRUE);
-
                 gtk_box_pack_start (GTK_BOX (cd->cities_section),
                                     GTK_WIDGET (city),
                                     FALSE, FALSE, 0);



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