filter in separate window
[lttv.git] / ltt / branches / poly / lttv / modules / gui / lttvwindow / lttvwindow / lttvwindow.c
index d76ce1545b792d2d4121220a45e789c0e8a83ac7..225104c780a5f7b27b12c9f9f8e090c800e99253 100644 (file)
@@ -1122,3 +1122,19 @@ void events_request_free(EventsRequest *events_request)
 }
 
 
+void main_window_add_child_window(Tab *tab, gpointer data,
+    const gchar *name, GDestroyNotify destroy_fct)
+{
+  g_object_set_data_full(G_OBJECT(tab->mw->mwindow),
+      name,
+      data,
+      destroy_fct);
+}
+
+void main_window_remove_child_window(Tab *tab,
+    const gchar *name)
+{
+  /* Might return NULL if called from the descructor upon main window close */
+  g_object_steal_data(G_OBJECT(tab->mw->mwindow), name);
+}
+
This page took 0.031813 seconds and 4 git commands to generate.