diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-01-07 16:47:35 +0100 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-03-01 04:55:55 +0100 |
commit | 4f78f70b15f861cca115f578b0f3f4ad3ad087e7 (patch) | |
tree | 87166fea7e72454f79e388c8fef075570e081d9c /gtk/gtkcalendar.c | |
parent | 6a9d4d82031a3a51a0c0ac8197766b75cd38a0a4 (diff) | |
download | gtk+-4f78f70b15f861cca115f578b0f3f4ad3ad087e7.tar.gz |
Deprecate widget flag: GTK_WIDGET_DRAWABLE
Use gtk_widget_is_drawable() instead.
https://bugzilla.gnome.org/show_bug.cgi?id=69872
Diffstat (limited to 'gtk/gtkcalendar.c')
-rw-r--r-- | gtk/gtkcalendar.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkcalendar.c b/gtk/gtkcalendar.c index 7203f15269..025860c345 100644 --- a/gtk/gtkcalendar.c +++ b/gtk/gtkcalendar.c @@ -2666,7 +2666,7 @@ gtk_calendar_expose (GtkWidget *widget, GtkCalendarPrivate *priv = GTK_CALENDAR_GET_PRIVATE (widget); int i; - if (GTK_WIDGET_DRAWABLE (widget)) + if (gtk_widget_is_drawable (widget)) { if (event->window == priv->main_win) calendar_paint_main (calendar); @@ -3728,7 +3728,7 @@ gtk_calendar_select_day (GtkCalendar *calendar, selected_day = calendar->selected_day; calendar->selected_day = 0; - if (GTK_WIDGET_DRAWABLE (GTK_WIDGET (calendar))) + if (gtk_widget_is_drawable (GTK_WIDGET (calendar))) calendar_invalidate_day_num (calendar, selected_day); } @@ -3737,7 +3737,7 @@ gtk_calendar_select_day (GtkCalendar *calendar, /* Select the new day */ if (day != 0) { - if (GTK_WIDGET_DRAWABLE (GTK_WIDGET (calendar))) + if (gtk_widget_is_drawable (GTK_WIDGET (calendar))) calendar_invalidate_day_num (calendar, day); } |