X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/84969af72daf3d5ffab6888dbb3c64ac868df390..1d879215ac7a298336bd7342b51bede93d208a91:/src/x11/gsockx11.c?ds=sidebyside diff --git a/src/x11/gsockx11.c b/src/x11/gsockx11.c index d49b6d1c07..ae23842347 100644 --- a/src/x11/gsockx11.c +++ b/src/x11/gsockx11.c @@ -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); }