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

f2404 pushed a 
commit to branch 
master
in repository apps/xfce4-terminal.

commit c8a2c28e558b729555e605b9fa67c0fd70fcc1ed
Author: Igor <f2...@yandex.ru>
Date:   Mon Apr 16 17:27:41 2018 -0400

    Make Preferences Help button work in standalone mode
---
 terminal/main.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/terminal/main.c b/terminal/main.c
index ec544a3..4038a30 100644
--- a/terminal/main.c
+++ b/terminal/main.c
@@ -229,7 +229,10 @@ main (int argc, char **argv)
       GtkWidget *dialog;
       gtk_init (&argc, &argv);
       dialog = terminal_preferences_dialog_new (TRUE, FALSE);
-      gtk_dialog_run (GTK_DIALOG (dialog));
+      g_signal_connect_after (G_OBJECT (dialog), "destroy",
+          G_CALLBACK (gtk_main_quit), NULL);
+      gtk_window_present (GTK_WINDOW (dialog));
+      gtk_main ();
       return EXIT_SUCCESS;
     }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to