[gtk+/wip/unfocused-fixes: 3/13] accellabel: 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+/wip/unfocused-fixes: 3/13] accellabel: Stop setting state flags on the style context for drawing
- Date: Sat, 17 Dec 2011 17:21:18 +0000 (UTC)
commit a3887cb7a4a513feb0da716bea10ac492895cb38
Author: Rui Matos <tiagomatos gmail com>
Date: Thu Dec 15 01:33:01 2011 +0000
accellabel: Stop setting state flags on the style context for drawing
gtk/gtkaccellabel.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkaccellabel.c b/gtk/gtkaccellabel.c
index 5f8c539..3b6ac41 100644
--- a/gtk/gtkaccellabel.c
+++ b/gtk/gtkaccellabel.c
@@ -445,7 +445,6 @@ gtk_accel_label_draw (GtkWidget *widget,
gtk_style_context_save (context);
gtk_style_context_add_class (context, GTK_STYLE_CLASS_ACCELERATOR);
- gtk_style_context_set_state (context, gtk_widget_get_state_flags (widget));
gtk_render_layout (context, cr, x, y, accel_layout);
gtk_style_context_restore (context);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]