[gtk+] separator: call gtk_style_context_restore() after drawing
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] separator: call gtk_style_context_restore() after drawing
- Date: Sat, 9 Apr 2011 00:34:12 +0000 (UTC)
commit 35479be43ed4fdf057075210fef171f5d21cd728
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]