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

index 192db55b4e4dd8ee02b862259914beee06d8a647..ec780e5568f4dd0cbf4e45d7b24dbcb06b565ca7 100644 (file)
@@ -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