[Xfce4-commits] [xfce/xfce4-settings] 01/01: display: Add missing signal to close dialog properly

noreply at xfce.org noreply at xfce.org
Sun Apr 21 21:47:42 CEST 2019


This is an automated email from the git hooks/post-receive script.

o   c   h   o   s   i       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/xfce4-settings.

commit 3648a5d9abeeaddfd8001e014ae118ccae499514
Author: Florian Schüller <florian.schueller at gmail.com>
Date:   Sun Apr 21 20:41:16 2019 +0200

    display: Add missing signal to close dialog properly
---
 dialogs/display-settings/main.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dialogs/display-settings/main.c b/dialogs/display-settings/main.c
index 7e1b9d1..ebfabc3 100644
--- a/dialogs/display-settings/main.c
+++ b/dialogs/display-settings/main.c
@@ -3508,6 +3508,8 @@ display_settings_show_main_dialog (GdkDisplay *display)
         g_signal_connect (randr_gui_area, "viewport_changed",
                   G_CALLBACK (on_viewport_changed), app);
 
+        g_signal_connect (G_OBJECT(dialog), "destroy", gtk_main_quit, NULL);
+
         gui_container = GTK_WIDGET (gtk_builder_get_object (builder, "randr-dnd"));
         gtk_container_add (GTK_CONTAINER (gui_container), GTK_WIDGET (randr_gui_area));
         gtk_widget_show_all (gui_container);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list