Reactivate the constructor of the filter and control dialogs
authorYannick Brosseau <yannick.brosseau@gmail.com>
Fri, 4 Feb 2011 22:13:49 +0000 (17:13 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Fri, 4 Feb 2011 22:13:49 +0000 (17:13 -0500)
Both constructor were accidently removed in the warning cleanup

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lttv/modules/gui/filter/filter.c
lttv/modules/gui/tracecontrol/tracecontrol.c

index 2357465b2ceece669d8eeb6b92075333d1f19232..a69685f8f8b58559187a7e10fd8e828d313a1748 100644 (file)
@@ -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;
 }
 
 /**
index a02301b26053c713ceadfb1f79f5950fb2c5a1c5..56165d943a352d4997d254c3e3d81fd13c3dfd21 100644 (file)
@@ -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;
 }
 
 /**
This page took 0.026478 seconds and 4 git commands to generate.