summaryrefslogtreecommitdiff
path: root/gtk/gtkcalendar.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2011-04-07 15:21:32 -0400
committerMatthias Clasen <mclasen@redhat.com>2011-04-08 20:33:58 -0400
commitb52394adca51300d30c449c85014800d2a5b13f1 (patch)
tree6f9c49b2ed06a8c7dce04629ecc68cde6f4f9e48 /gtk/gtkcalendar.c
parentc4e17bb148d34088f3dc3039f3fb38a563df218e (diff)
downloadgtk+-b52394adca51300d30c449c85014800d2a5b13f1.tar.gz
calendar: make sure to call gtk_style_context_restore()
https://bugzilla.gnome.org/show_bug.cgi?id=647086
Diffstat (limited to 'gtk/gtkcalendar.c')
-rw-r--r--gtk/gtkcalendar.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkcalendar.c b/gtk/gtkcalendar.c
index 59bac5ef74..1d9d83594f 100644
--- a/gtk/gtkcalendar.c
+++ b/gtk/gtkcalendar.c
@@ -2827,6 +2827,8 @@ gtk_calendar_draw (GtkWidget *widget,
gtk_render_frame (context, cr, 0, 0,
gtk_widget_get_allocated_width (widget),
gtk_widget_get_allocated_height (widget));
+
+ gtk_style_context_restore (context);
}
calendar_paint_main (calendar, cr);