[gtk+] eventbox: don't call gtk_style_context_set_background()



commit 1c9468c81bd833a662e65a21f88b2584510018e9
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Wed Jun 3 18:03:35 2015 -0700

    eventbox: don't call gtk_style_context_set_background()

 gtk/gtkeventbox.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkeventbox.c b/gtk/gtkeventbox.c
index 1f23697..288b5ff 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]