[gtk+] 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+] accellabel: Stop setting state flags on the style context for drawing
- Date: Mon, 19 Dec 2011 19:23:02 +0000 (UTC)
commit 221442aa2a4da11f8b342e0e0696cdb1228b9e29
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]