state update hooks are added by the main window
[lttv.git] / ltt / branches / poly / lttv / modules / gui / mainWin / src / init_module.c
index 7bf2f5e37f0399319f0690f4d637ae27f57b62de..2201eadc1f6d5167055fab578fdebcb5a2d4783b 100644 (file)
@@ -113,6 +113,11 @@ void
 main_window_free(MainWindow * mw)
 { 
   if(mw){
+    while(mw->tab){
+      lttv_state_remove_event_hooks(
+           (LttvTracesetState*)mw->tab->traceset_info->traceset_context);
+      mw->tab = mw->tab->next;
+    }
     g_object_unref(mw->attributes);
     g_main_window_list = g_slist_remove(g_main_window_list, mw);
 
This page took 0.023635 seconds and 4 git commands to generate.