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



commit db76eae41a5686be59e20668dc760e5f25c89782
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Wed Jun 3 18:17:27 2015 -0700

    listbox: don't call gtk_style_context_set_background()

 gtk/gtklistbox.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtklistbox.c b/gtk/gtklistbox.c
index 94c7288..39667eb 100644
--- a/gtk/gtklistbox.c
+++ b/gtk/gtklistbox.c
@@ -2030,7 +2030,6 @@ gtk_list_box_realize (GtkWidget *widget)
 
   window = gdk_window_new (gtk_widget_get_parent_window (widget),
                            &attributes, GDK_WA_X | GDK_WA_Y);
-  gtk_style_context_set_background (gtk_widget_get_style_context (widget), window);
   gdk_window_set_user_data (window, (GObject*) widget);
   gtk_widget_set_window (widget, window); /* Passes ownership */
 }


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