From 6f9c921e01ea8e25ac6fd93a82be64979a69ae10 Mon Sep 17 00:00:00 2001 From: compudj Date: Fri, 19 Jun 2009 13:27:45 +0000 Subject: [PATCH] fix file quit git-svn-id: http://ltt.polymtl.ca/svn@3405 04897980-b3bd-0310-b5e0-8ef037075253 --- .../lttv/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/trunk/lttv/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c b/trunk/lttv/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c index a47307d2..0b5756e9 100644 --- a/trunk/lttv/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c +++ b/trunk/lttv/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c @@ -2474,7 +2474,10 @@ void on_quit_activate (GtkMenuItem *menuitem, gpointer user_data) { - mainwindow_quit(); + while (g_slist_length(g_main_window_list) != 0) { + on_MWindow_destroy(((MainWindow *)g_main_window_list->data)->mwindow, + user_data); + } } -- 2.34.1