X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodules%2FguiControlFlow%2FEvent_Hooks.c;h=df7eb66390e5a2e9d85d9720cc3c8d81446b11cf;hb=558aa01322f1af8be09fcfc086864da0373823c5;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..df7eb663 100644 --- a/ltt/branches/poly/lttv/modules/guiControlFlow/Event_Hooks.c +++ b/ltt/branches/poly/lttv/modules/guiControlFlow/Event_Hooks.c @@ -2,8 +2,11 @@ * Hooks to be called by the main window * *****************************************************************************/ -#include +#include +#include +#include +#include #include "CFV.h" @@ -16,11 +19,11 @@ * @return The widget created. */ GtkWidget * -hGuiControlFlow(GtkWidget *pmParentWindow) +hGuiControlFlow(mainWindow *pmParentWindow) { ControlFlowData* Control_Flow_Data = GuiControlFlow() ; - return Control_Flow_Data->HBox_V ; + return GuiControlFlow_get_Widget(Control_Flow_Data) ; } @@ -38,7 +41,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 +90,4 @@ int Draw_After_Hook(void *hook_data, void *call_data) g_free(Event_Request); return 0; } - +#endif