[gtk: 1/2] window: Actually emit notify::transient-for



commit ea487b2233f45474256d2d2024617652999c3533
Author: Zander Brown <zbrown gnome org>
Date:   Mon Nov 19 21:07:17 2018 +0000

    window: Actually emit notify::transient-for
    
    Because it seems we weren't doing that

 gtk/gtkwindow.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 1ae9f36a72..f1e99e5792 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -3538,6 +3538,8 @@ gtk_window_set_transient_for  (GtkWindow *window,
     }
 
   update_window_buttons (window);
+
+  g_object_notify_by_pspec (G_OBJECT (window), window_props[PROP_TRANSIENT_FOR]);
 }
 
 /**


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