gnome-panel r11147 - trunk/applets/clock



Author: vuntz
Date: Thu Jun 19 09:52:22 2008
New Revision: 11147
URL: http://svn.gnome.org/viewvc/gnome-panel?rev=11147&view=rev

Log:
2008-06-19  Vincent Untz  <vuntz gnome org>

	* clock.c: (fill_time_settings_window): fix previous commit. Thanks to
	Chenthill Palanisamy <pchenthill novell com> for noticing the breakage.


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 Jun 19 09:52:22 2008
@@ -1780,9 +1780,9 @@
 	gtk_spin_button_set_value (GTK_SPIN_BUTTON (cd->minutes_spin), now.tm_min);
 	gtk_spin_button_set_value (GTK_SPIN_BUTTON (cd->hours_spin), now.tm_hour);
 
-	gtk_calendar_select_month (GTK_CALENDAR (cd->calendar), now->tm_mon,
-				   now->tm_year + 1900);
-	gtk_calendar_select_day (GTK_CALENDAR (cd->calendar), now->tm_mday);
+	gtk_calendar_select_month (GTK_CALENDAR (cd->calendar), now.tm_mon,
+				   now.tm_year + 1900);
+	gtk_calendar_select_day (GTK_CALENDAR (cd->calendar), now.tm_mday);
 }
 
 static void



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