summaryrefslogtreecommitdiffstats
path: root/gtk-gui.c
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-09-27 11:38:31 -0700
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-09-27 11:38:31 -0700
commit3ca194b34695989f096b9533ea233ee1beec7733 (patch)
tree901df94c313699b965eab624b8f22425c95fa917 /gtk-gui.c
parent30ee87be92f0a0fffc98106852d9623a65dfe4ed (diff)
downloadsubsurface-3ca194b34695989f096b9533ea233ee1beec7733.tar.gz
Don't mark the divelist window transient
That also makes it always stay in front of the other window, which is just annoying. I only did it because I wanted to make sure it dies when the main window does, but since we just kill the main loop when closing either window, that just isn't an issue. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'gtk-gui.c')
-rw-r--r--gtk-gui.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk-gui.c b/gtk-gui.c
index 4b6795621..da2a94dc1 100644
--- a/gtk-gui.c
+++ b/gtk-gui.c
@@ -472,8 +472,6 @@ static GtkNotebook *create_new_notebook_window(GtkNotebook *source,
divelist_window = win = gtk_window_new(GTK_WINDOW_TOPLEVEL);
gtk_window_set_title(GTK_WINDOW(win), "Dive List");
- gtk_window_set_transient_for(GTK_WINDOW(win), GTK_WINDOW(main_window));
- gtk_window_set_destroy_with_parent(GTK_WINDOW(win), 1);
gtk_window_move(GTK_WINDOW(win), x, y);
/* Destroying the dive list will kill the application */