[Xfce4-commits] [apps/xfce4-terminal] 01/01: Close Find dialog when closing parent window

noreply at xfce.org noreply at xfce.org
Wed Feb 8 08:17:01 CET 2017


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 81a85d85307462620fbb5eae8ac3253428f8fcc2
Author: Igor <f2404 at yandex.ru>
Date:   Wed Feb 8 10:16:54 2017 +0300

    Close Find dialog when closing parent window
---
 terminal/terminal-search-dialog.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/terminal/terminal-search-dialog.c b/terminal/terminal-search-dialog.c
index f7231d7..507ad7f 100644
--- a/terminal/terminal-search-dialog.c
+++ b/terminal/terminal-search-dialog.c
@@ -203,7 +203,9 @@ GtkWidget *
 terminal_search_dialog_new (GtkWindow *parent)
 {
   return g_object_new (TERMINAL_TYPE_SEARCH_DIALOG,
-                       "transient-for", parent, NULL);
+                       "transient-for", parent,
+                       "destroy-with-parent", TRUE,
+                       NULL);
 }
 
 

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


More information about the Xfce4-commits mailing list