X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/06b466c74fae8f27544f143abdcabcd2385602e4..328bfc22243e3d4672ddf626db4f78e4269c7275:/src/gtk1/gsockgtk.c?ds=sidebyside diff --git a/src/gtk1/gsockgtk.c b/src/gtk1/gsockgtk.c index 65a462a348..3202c6b421 100644 --- a/src/gtk1/gsockgtk.c +++ b/src/gtk1/gsockgtk.c @@ -31,7 +31,7 @@ void _GSocket_GDK_Input(gpointer data, _GSocket_Detected_Write(socket); } -void _GSocket_GUI_Init(GSocket *socket) +int _GSocket_GUI_Init(GSocket *socket) { gint *m_id; @@ -40,6 +40,8 @@ void _GSocket_GUI_Init(GSocket *socket) m_id[0] = -1; m_id[1] = -1; + + return TRUE; } void _GSocket_GUI_Destroy(GSocket *socket)