summaryrefslogtreecommitdiff
path: root/gtk/gtkseparator.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2011-04-07 15:21:51 -0400
committerMatthias Clasen <mclasen@redhat.com>2011-04-08 20:33:59 -0400
commit35479be43ed4fdf057075210fef171f5d21cd728 (patch)
tree768433556098050dde079232edef003299f843f2 /gtk/gtkseparator.c
parentb52394adca51300d30c449c85014800d2a5b13f1 (diff)
downloadgtk+-35479be43ed4fdf057075210fef171f5d21cd728.tar.gz
separator: call gtk_style_context_restore() after drawing
https://bugzilla.gnome.org/show_bug.cgi?id=647086
Diffstat (limited to 'gtk/gtkseparator.c')
-rw-r--r--gtk/gtkseparator.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkseparator.c b/gtk/gtkseparator.c
index 66c18889f9..013247a6c7 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;
}