[gtk+/gtk-3-0] calendar: make sure to call gtk_style_context_restore()



commit ccc173916118862e9f36f17b66304252fbfbd07d
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]