eventbox: don't call gtk_style_context_set_background()
authorCosimo Cecchi <cosimoc@gnome.org>
Thu, 4 Jun 2015 01:03:35 +0000 (18:03 -0700)
committerCosimo Cecchi <cosimoc@gnome.org>
Wed, 1 Jul 2015 23:09:22 +0000 (16:09 -0700)
gtk/gtkeventbox.c

index 1f2369769dcaf83f0cbe0f6fa1119574d0a09ae0..288b5fffb3c488abf009758c410d2e689efbdfc6 100644 (file)
@@ -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