gnome-panel r10906 - trunk/applets/clock



Author: vuntz
Date: Thu Feb 28 16:55:36 2008
New Revision: 10906
URL: http://svn.gnome.org/viewvc/gnome-panel?rev=10906&view=rev

Log:
2008-02-28  Vincent Untz  <vuntz gnome org>

	* clock.c: (clock_migrate_to_26): fix previous commit to not break the
	build


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 Feb 28 16:55:36 2008
@@ -2269,7 +2269,7 @@
 	/* It's still possible that we have none of the old keys, in which case
 	 * we're not migrating from 2.6, but the config is simply wrong. So
 	 * don't set the format key in this case. */
-	if (cd->format != CLOCK_FORMAT_INVALID)
+	if (clock->format != CLOCK_FORMAT_INVALID)
 		panel_applet_gconf_set_string (PANEL_APPLET (clock->applet),
 					       KEY_FORMAT,
 					       gconf_enum_to_string (format_type_enum_map,



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