* Project: GSocket (Generic Socket) for WX
* Name: gsockgtk.c
* Purpose: GSocket: GTK part
+ * Licence: The wxWindows licence
* CVSID: $Id$
* -------------------------------------------------------------------------
*/
#if wxUSE_SOCKETS
+#include <assert.h>
#include <stdlib.h>
#include <stdio.h>
_GSocket_Detected_Write(socket);
}
-bool _GSocket_GUI_Init(GSocket *socket)
+int _GSocket_GUI_Init(GSocket *socket)
{
gint *m_id;
gint *m_id = (gint *)(socket->m_gui_dependent);
int c;
+ assert( m_id != NULL );
+
switch (event)
{
case GSOCK_LOST: /* fall-through */