}
+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);
+}
+