X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodules%2Fgui%2Flttvwindow%2Flttvwindow%2Flttvwindow.c;h=9814c3d232c9fe1dd0c5666c2eae509cf4fdbf44;hb=93ac601b7487eba4b0733f44117f45fa9dd0baee;hp=fe67fb70cff71b0cbce669c2f1e6d09040b8dee6;hpb=bf33dd5091178cd0ad175b1914d74056db60e7af;p=lttv.git diff --git a/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/lttvwindow.c b/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/lttvwindow.c index fe67fb70..9814c3d2 100644 --- a/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/lttvwindow.c +++ b/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/lttvwindow.c @@ -1121,19 +1121,9 @@ 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) +GtkWidget *main_window_get_widget(Tab *tab) { - /* Might return NULL if called from the descructor upon main window close */ - g_object_steal_data(G_OBJECT(tab->mw->mwindow), name); + return tab->mw->mwindow; }