From: compudj Date: Fri, 19 Jun 2009 13:27:45 +0000 (+0000) Subject: fix file quit X-Git-Tag: v0.12.20~84 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=6f9c921e01ea8e25ac6fd93a82be64979a69ae10;p=lttv.git fix file quit git-svn-id: http://ltt.polymtl.ca/svn@3405 04897980-b3bd-0310-b5e0-8ef037075253 --- 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); + } }