summaryrefslogtreecommitdiff
path: root/baobab
diff options
context:
space:
mode:
authormonsta <[email protected]>2017-10-09 15:15:46 +0300
committermonsta <[email protected]>2017-10-09 15:36:04 +0300
commit7b31be1490a320565d208816f143f014e3105295 (patch)
tree24d7feffc64a7c20405965615612dc256e7870ca /baobab
parent54d2449fa03e024aa216488b852e4826f6195bcb (diff)
downloadmate-utils-7b31be1490a320565d208816f143f014e3105295.tar.bz2
mate-utils-7b31be1490a320565d208816f143f014e3105295.tar.xz
baobab: set transient parent for remote connect dialog
fixes yet another runtime warning
Diffstat (limited to 'baobab')
-rw-r--r--baobab/src/baobab-remote-connect-dialog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/baobab/src/baobab-remote-connect-dialog.c b/baobab/src/baobab-remote-connect-dialog.c
index c535a851..a5b6d5e0 100644
--- a/baobab/src/baobab-remote-connect-dialog.c
+++ b/baobab/src/baobab-remote-connect-dialog.c
@@ -775,6 +775,8 @@ baobab_remote_connect_dialog_new (GtkWindow *window, GFile *location)
dialog = gtk_widget_new (BAOBAB_TYPE_REMOTE_CONNECT_DIALOG, NULL);
+ gtk_window_set_transient_for (GTK_WINDOW (dialog), window);
+
g_signal_connect (dialog, "response",
G_CALLBACK (response_callback),
window);