--- gnome-panel-3.6.0/applets/clock/calendar-window.c	2013-03-15 00:01:13.155609478 -0700
+++ gnome-panel-3.6.0/applets/clock/calendar-window.c	2013-03-15 00:01:39.191608546 -0700
@@ -1257,20 +1257,6 @@
 }
 
 static void
-calendar_month_selected (GtkCalendar    *calendar,
-			 CalendarWindow *calwin)
-{
-        guint year, month;
-
-        gtk_calendar_get_date (calendar, &year, &month, NULL);
-
-        calendar_client_select_month (calwin->priv->client, month, year);
-
-        handle_appointments_changed (calwin);
-        handle_tasks_changed (calwin);
-}
-
-static void
 setup_list_size_constraint (GtkWidget *widget,
                             GtkWidget *calendar,
                             GtkWidget *tree)
@@ -1300,6 +1286,20 @@
 	gtk_widget_set_size_request (widget, req.width, req_height);
 }
 
+static void
+calendar_month_selected (GtkCalendar    *calendar,
+			 CalendarWindow *calwin)
+{
+        guint year, month;
+
+        gtk_calendar_get_date (calendar, &year, &month, NULL);
+
+        calendar_client_select_month (calwin->priv->client, month, year);
+
+        handle_appointments_changed (calwin);
+        handle_tasks_changed (calwin);
+}
+
 #endif /* HAVE_LIBECAL */
 
 static void
