fix file quit
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Fri, 19 Jun 2009 13:27:45 +0000 (13:27 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Fri, 19 Jun 2009 13:27:45 +0000 (13:27 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@3405 04897980-b3bd-0310-b5e0-8ef037075253

trunk/lttv/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c

index a47307d25793904645651b97e7db6dbaf3fbe79c..0b5756e9a2d318ba609e9d5f889737deb7eb47e2 100644 (file)
@@ -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);
+  }
 }
 
 
This page took 0.024667 seconds and 4 git commands to generate.