X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/26dfedc4fc2abcec898e2911b5bfd4556a81e69e..70914290a18a1c95c16ff5148d53f3dea52d2940:/src/motif/gsockmot.c?ds=sidebyside diff --git a/src/motif/gsockmot.c b/src/motif/gsockmot.c index 0898bd4512..1297cecdee 100644 --- a/src/motif/gsockmot.c +++ b/src/motif/gsockmot.c @@ -32,9 +32,8 @@ static void _GSocket_Motif_Output(XtPointer data, int *fid, _GSocket_Detected_Write(socket); } -void _GSocket_GUI_Init(GSocket *socket) +int _GSocket_GUI_Init(GSocket *socket) { - int i; int *m_id; socket->m_gui_dependent = (char *)malloc(sizeof(int)*2); @@ -42,6 +41,8 @@ void _GSocket_GUI_Init(GSocket *socket) m_id[0] = -1; m_id[1] = -1; + + return TRUE; } void _GSocket_GUI_Destroy(GSocket *socket)