gnome-panel r11148 - branches/gnome-2-22/applets/clock



Author: vuntz
Date: Thu Jun 19 09:52:55 2008
New Revision: 11148
URL: http://svn.gnome.org/viewvc/gnome-panel?rev=11148&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:
   branches/gnome-2-22/applets/clock/ChangeLog
   branches/gnome-2-22/applets/clock/clock.c

Modified: branches/gnome-2-22/applets/clock/clock.c
==============================================================================
--- branches/gnome-2-22/applets/clock/clock.c	(original)
+++ branches/gnome-2-22/applets/clock/clock.c	Thu Jun 19 09:52:55 2008
@@ -1777,9 +1777,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]