X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodules%2FguiControlFlow%2FEvent_Hooks.c;h=781f772bceed0187dac58efe48c914e76c57bd0c;hb=1ab818de1d890bf716413090d943858bfef8d3d3;hp=9a86826bc92d77aa1de2718e54200a48eb1ec564;hpb=f0d936c08dae39e9a913357a49885b4937aca847;p=lttv.git diff --git a/ltt/branches/poly/lttv/modules/guiControlFlow/Event_Hooks.c b/ltt/branches/poly/lttv/modules/guiControlFlow/Event_Hooks.c index 9a86826b..781f772b 100644 --- a/ltt/branches/poly/lttv/modules/guiControlFlow/Event_Hooks.c +++ b/ltt/branches/poly/lttv/modules/guiControlFlow/Event_Hooks.c @@ -2,9 +2,13 @@ * Hooks to be called by the main window * *****************************************************************************/ -#include +#include +#include +#include +#include +#include "Event_Hooks.h" #include "CFV.h" /** @@ -16,11 +20,12 @@ * @return The widget created. */ GtkWidget * -hGuiControlFlow(GtkWidget *pmParentWindow) +hGuiControlFlow(mainWindow *pmParentWindow) { - ControlFlowData* Control_Flow_Data = GuiControlFlow() ; + g_critical("hGuiControlFlow"); + ControlFlowData *Control_Flow_Data = GuiControlFlow() ; - return Control_Flow_Data->HBox_V ; + return GuiControlFlow_get_Widget(Control_Flow_Data) ; } @@ -38,7 +43,7 @@ int Event_Selected_Hook(void *hook_data, void *call_data) } - +#ifdef DEBUG /* Hook called before drawing. Gets the initial context at the beginning of the * drawing interval and copy it to the context in Event_Request. */ @@ -87,4 +92,4 @@ int Draw_After_Hook(void *hook_data, void *call_data) g_free(Event_Request); return 0; } - +#endif