[gtk+] GtkWindow: remove unneeded call



commit badbef33ab8fc094fc90e2247a62191a12d564fc
Author: Carlos Garnacho <carlosg gnome org>
Date:   Mon Jan 3 23:18:54 2011 +0100

    GtkWindow: remove unneeded call
    
    gtk_widget_style_attach() is no longer necessary.

 gtk/gtkwindow.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index a81ac65..6e0fca3 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -4920,9 +4920,7 @@ gtk_window_realize (GtkWidget *widget)
 
   gdk_window_set_user_data (gdk_window, window);
 
-  gtk_widget_style_attach (widget);
   context = gtk_widget_get_style_context (widget);
-
   gtk_style_context_set_background (context, gdk_window);
 
   if (priv->transient_parent &&



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