X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a324a7bccf4bda8f4f2bf09daee8104cae953cee..eebe401675d1c558516d20506a4e43cccb36d182:/src/gtk/gsockgtk.c diff --git a/src/gtk/gsockgtk.c b/src/gtk/gsockgtk.c index 85816cbddb..006a04fbf0 100644 --- a/src/gtk/gsockgtk.c +++ b/src/gtk/gsockgtk.c @@ -1,7 +1,18 @@ +/* ------------------------------------------------------------------------- + * Project: GSocket (Generic Socket) for WX + * Name: gsockgtk.c + * Purpose: GSocket: GTK part + * CVSID: $Id$ + * ------------------------------------------------------------------------- + */ +#include "wx/setup.h" + +#if wxUSE_SOCKETS + #include -#include -#include -#include +#include "gdk/gdk.h" +#include "glib.h" +#include "wx/gsocket.h" #include "../unix/gsockunx.h" void _GSocket_GDK_Input(gpointer data, gint source, GdkInputCondition condition) @@ -46,7 +57,7 @@ void _GSocket_GUI_Destroy(GSocket *socket) free(socket->m_gui_dependent); } -void _GSocket_Install_Fallback(GSocket *socket, GSocketEvent event) +void _GSocket_Install_Callback(GSocket *socket, GSocketEvent event) { GdkInputCondition flag; int c; @@ -69,7 +80,7 @@ void _GSocket_Install_Fallback(GSocket *socket, GSocketEvent event) _GSocket_GDK_Input, (gpointer)socket); } -void _GSocket_Uninstall_Fallback(GSocket *socket, GSocketEvent event) +void _GSocket_Uninstall_Callback(GSocket *socket, GSocketEvent event) { int c; gint *m_id; @@ -98,3 +109,5 @@ unsigned long GSocket_GetEventID(GSocket *socket) void GSocket_DoEvent(unsigned long evt_id) { } + +#endif /* wxUSE_SOCKETS */