X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/84969af72daf3d5ffab6888dbb3c64ac868df390..3c86150dd768b4e490b603227de28aa57275ee4b:/src/x11/gsockx11.c diff --git a/src/x11/gsockx11.c b/src/x11/gsockx11.c index d49b6d1c07..0cbe4f1763 100644 --- a/src/x11/gsockx11.c +++ b/src/x11/gsockx11.c @@ -2,7 +2,7 @@ * Project: GSocket (Generic Socket) for WX * Name: gsockmot.c * Purpose: GSocket: X11 part - * Licence: The wxWindows licence + * Licence: The wxWidgets licence * CVSID: $Id$ * ------------------------------------------------------------------------- */ @@ -32,17 +32,26 @@ static void _GSocket_X11_Input(int *fid, void* data) { GSocket *socket = (GSocket *)data; - _GSocket_Detected_Read(socket); + socket->m_functions->Detected_Read(socket); } static void _GSocket_X11_Output(int *fid, void* data) { GSocket *socket = (GSocket *)data; - _GSocket_Detected_Write(socket); + socket->m_functions->Detected_Write(socket); } -int _GSocket_GUI_Init(GSocket *socket) +int _GSocket_GUI_Init(void) +{ + return 1; +} + +void _GSocket_GUI_Cleanup(void) +{ +} + +int _GSocket_GUI_Init_Socket(GSocket *socket) { int *m_id; @@ -55,7 +64,7 @@ int _GSocket_GUI_Init(GSocket *socket) return TRUE; } -void _GSocket_GUI_Destroy(GSocket *socket) +void _GSocket_GUI_Destroy_Socket(GSocket *socket) { free(socket->m_gui_dependent); }