summaryrefslogtreecommitdiff
path: root/gtk/gtkcalendar.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2010-08-28 19:09:21 -0400
committerMatthias Clasen <mclasen@redhat.com>2010-08-28 19:09:21 -0400
commit6dd4f32f378d19d715264bdc9c453cf389de8aa9 (patch)
tree33b68bd4fc3b87abb23c154eeb6b9b36559a3a43 /gtk/gtkcalendar.c
parentd45d970144fe0fd6422fab873a6c20335ca096b9 (diff)
downloadgtk+-6dd4f32f378d19d715264bdc9c453cf389de8aa9.tar.gz
Remove deprecated GTK_CALENDAR_WEEK_START_MONDAY option
This has been deprecated and ignored for a long time.
Diffstat (limited to 'gtk/gtkcalendar.c')
-rw-r--r--gtk/gtkcalendar.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/gtk/gtkcalendar.c b/gtk/gtkcalendar.c
index 4470a38115..5dfffebfd9 100644
--- a/gtk/gtkcalendar.c
+++ b/gtk/gtkcalendar.c
@@ -3875,20 +3875,16 @@ gtk_calendar_set_display_options (GtkCalendar *calendar,
}
}
- if ((flags ^ priv->display_flags) & GTK_CALENDAR_WEEK_START_MONDAY)
- g_warning ("GTK_CALENDAR_WEEK_START_MONDAY is ignored; the first day of the week is determined from the locale");
-
if ((flags ^ priv->display_flags) & GTK_CALENDAR_SHOW_DETAILS)
resize++;
priv->display_flags = flags;
if (resize)
gtk_widget_queue_resize (GTK_WIDGET (calendar));
-
- }
+ }
else
priv->display_flags = flags;
-
+
g_object_freeze_notify (G_OBJECT (calendar));
if ((old_flags ^ priv->display_flags) & GTK_CALENDAR_SHOW_HEADING)
g_object_notify (G_OBJECT (calendar), "show-heading");