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



commit aab3d4679fa08c5b3da8226fc02bb6cb4cb9498a
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Wed Jun 3 18:21:56 2015 -0700

    offscreenwindow: don't call gtk_style_context_set_background()

 gtk/gtkoffscreenwindow.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkoffscreenwindow.c b/gtk/gtkoffscreenwindow.c
index 192db55..ec780e5 100644
--- a/gtk/gtkoffscreenwindow.c
+++ b/gtk/gtkoffscreenwindow.c
@@ -188,9 +188,6 @@ gtk_offscreen_window_realize (GtkWidget *widget)
   child = gtk_bin_get_child (bin);
   if (child)
     gtk_widget_set_parent_window (child, 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]