[gtk+/gtk-3-0] separator: call gtk_style_context_restore() after drawing



commit e5ae44bd1b7971309addc4ba084673fab39d5dd3
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Thu Apr 7 15:21:51 2011 -0400

    separator: call gtk_style_context_restore() after drawing
    
    https://bugzilla.gnome.org/show_bug.cgi?id=647086

 gtk/gtkseparator.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkseparator.c b/gtk/gtkseparator.c
index 66c1888..013247a 100644
--- a/gtk/gtkseparator.c
+++ b/gtk/gtkseparator.c
@@ -266,6 +266,8 @@ gtk_separator_draw (GtkWidget *widget,
                          (width - padding.left) / 2, height - 1);
     }
 
+  gtk_style_context_restore (context);
+
   return FALSE;
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]