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



commit b150699510e3a8d88a7ca70497a22bcffa1497c6
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 a304da2a20..0ee06f719e 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -3341,6 +3341,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]