[gtk+] combobox: 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+] combobox: Stop setting state flags on the style context for drawing
- Date: Mon, 19 Dec 2011 19:23:58 +0000 (UTC)
commit 721920e9e95d7279d7398ab8252e8a99691da81f
Author: Rui Matos <tiagomatos gmail com>
Date: Sat Dec 17 18:55:09 2011 +0000
combobox: Stop setting state flags on the style context for drawing
gtk/gtkcombobox.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c
index 61be1f1..79d5d27 100644
--- a/gtk/gtkcombobox.c
+++ b/gtk/gtkcombobox.c
@@ -2810,11 +2810,8 @@ gtk_combo_box_draw (GtkWidget *widget,
if (priv->shadow_type != GTK_SHADOW_NONE)
{
GtkStyleContext *context;
- GtkStateFlags state;
context = gtk_widget_get_style_context (widget);
- state = gtk_widget_get_state_flags (widget);
- gtk_style_context_set_state (context, state);
gtk_render_background (context, cr, 0, 0,
gtk_widget_get_allocated_width (widget),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]