summaryrefslogtreecommitdiff
path: root/gtk/gtkeventbox.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2015-06-03 18:03:35 -0700
committerCosimo Cecchi <cosimoc@gnome.org>2015-07-01 16:09:22 -0700
commit1c9468c81bd833a662e65a21f88b2584510018e9 (patch)
treef0f4337fa121906b0eb330e1f78ae5913195efcb /gtk/gtkeventbox.c
parent6786c9d724ad57ea30e169d2afcb4a314b2e56bb (diff)
downloadgtk+-1c9468c81bd833a662e65a21f88b2584510018e9.tar.gz
eventbox: don't call gtk_style_context_set_background()
Diffstat (limited to 'gtk/gtkeventbox.c')
-rw-r--r--gtk/gtkeventbox.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gtk/gtkeventbox.c b/gtk/gtkeventbox.c
index 1f2369769d..288b5fffb3 100644
--- a/gtk/gtkeventbox.c
+++ b/gtk/gtkeventbox.c
@@ -447,9 +447,6 @@ gtk_event_box_realize (GtkWidget *widget)
&attributes, attributes_mask);
gtk_widget_register_window (widget, priv->event_window);
}
-
- if (visible_window)
- gtk_style_context_set_background (gtk_widget_get_style_context (widget), window);
}
static void