From: Yannick Brosseau Date: Fri, 4 Feb 2011 22:13:49 +0000 (-0500) Subject: Reactivate the constructor of the filter and control dialogs X-Git-Tag: v0.12.37~5 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=0fe54b017fd76e78304066575103681ea7a36457;p=lttv.git Reactivate the constructor of the filter and control dialogs Both constructor were accidently removed in the warning cleanup Signed-off-by: Yannick Brosseau Signed-off-by: Mathieu Desnoyers --- diff --git a/lttv/modules/gui/filter/filter.c b/lttv/modules/gui/filter/filter.c index 2357465b..a69685f8 100644 --- a/lttv/modules/gui/filter/filter.c +++ b/lttv/modules/gui/filter/filter.c @@ -462,7 +462,10 @@ gui_filter_destructor(FilterViewerData *fvd) GtkWidget * h_guifilter(LttvPlugin *plugin) { - return NULL; + gui_filter(plugin); + + /* TODO ybrosseau 2011-02-04: We should probably return a widget here */ + return NULL; } /** diff --git a/lttv/modules/gui/tracecontrol/tracecontrol.c b/lttv/modules/gui/tracecontrol/tracecontrol.c index a02301b2..56165d94 100644 --- a/lttv/modules/gui/tracecontrol/tracecontrol.c +++ b/lttv/modules/gui/tracecontrol/tracecontrol.c @@ -1242,7 +1242,11 @@ void disarm_clicked (GtkButton *button, gpointer user_data) GtkWidget * h_guicontrol(LttvPlugin *plugin) { - return NULL; + LttvPluginTab *ptab = LTTV_PLUGIN_TAB(plugin); + gui_control(ptab) ; + + /* TODO ybrosseau 2011-02-04: We should probably return a widget here */ + return NULL; } /**