[gtk+] menuitem: Stop setting state flags on the style context for drawing
- From: Rui Matos <rtcm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] menuitem: Stop setting state flags on the style context for drawing
- Date: Mon, 19 Dec 2011 19:24:58 +0000 (UTC)
commit 9a4edf7a5ad1b4f943b76f1b3951e7f6ac280590
Author: Rui Matos <tiagomatos gmail com>
Date: Mon Dec 19 15:52:14 2011 +0000
menuitem: Stop setting state flags on the style context for drawing
gtk/gtkmenuitem.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkmenuitem.c b/gtk/gtkmenuitem.c
index cb4ee7a..3eef97f 100644
--- a/gtk/gtkmenuitem.c
+++ b/gtk/gtkmenuitem.c
@@ -1604,7 +1604,6 @@ gtk_menu_item_draw (GtkWidget *widget,
parent = gtk_widget_get_parent (widget);
gtk_style_context_save (context);
- gtk_style_context_set_state (context, state);
gtk_style_context_get_padding (context, state, &padding);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]