[gtk+] calendar: make sure to call gtk_style_context_restore()
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] calendar: make sure to call gtk_style_context_restore()
- Date: Sat, 9 Apr 2011 00:34:07 +0000 (UTC)
commit b52394adca51300d30c449c85014800d2a5b13f1
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Thu Apr 7 15:21:32 2011 -0400
calendar: make sure to call gtk_style_context_restore()
https://bugzilla.gnome.org/show_bug.cgi?id=647086
gtk/gtkcalendar.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkcalendar.c b/gtk/gtkcalendar.c
index 59bac5e..1d9d835 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]