[gnome-terminal] prefs: Make profile editors not transient



commit f6a4b2c2f5b5fb3e05c43e9e2c154c7fae5749b5
Author: Christian Persch <chpe gnome org>
Date:   Sun May 10 16:46:47 2015 +0200

    prefs: Make profile editors not transient

 src/terminal-prefs.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/terminal-prefs.c b/src/terminal-prefs.c
index b830ed1..230b0ae 100644
--- a/src/terminal-prefs.c
+++ b/src/terminal-prefs.c
@@ -300,8 +300,7 @@ profile_list_row_activated_cb (GtkTreeView *tree_view,
   if (selected_profile == NULL)
     return;
 
-  terminal_app_edit_profile (terminal_app_get (),
-                             selected_profile, GTK_WINDOW (data->dialog), NULL);
+  terminal_app_edit_profile (terminal_app_get (), selected_profile, NULL, NULL);
 }
 
 static GtkTreeView *
@@ -426,8 +425,7 @@ profile_list_edit_button_clicked_cb (GtkWidget *button,
   if (selected_profile == NULL)
     return;
 
-  terminal_app_edit_profile (terminal_app_get (), selected_profile,
-                             GTK_WINDOW (data->dialog), NULL);
+  terminal_app_edit_profile (terminal_app_get (), selected_profile, NULL, NULL);
 }
 
 static void


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