[gtk+] Don't call set_application() in gtk_window_realize



commit ba9546ff3223fc098a3c60688bcc369a280da820
Author: Ryan Lortie <desrt desrt ca>
Date:   Tue Jan 17 15:38:07 2012 -0500

    Don't call set_application() in gtk_window_realize
    
    This call has no effect and with the newly-added restrictions it's
    violating the set-application-after-realized rule.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=668203

 gtk/gtkwindow.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 93eb4a7..0204252 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -5330,8 +5330,6 @@ gtk_window_realize (GtkWidget *widget)
     }
 #endif
 
-  gtk_window_set_application (window, gtk_window_get_application (window));
-
   /* Icons */
   gtk_window_realize_icon (window);
   



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