X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dbd300df5c4abfd161e3cc233e87a0a71f544cbe..4df78dc36e933fb1c3aa7c9d7ae2757a898ae05c:/src/gtk/gsockgtk.c diff --git a/src/gtk/gsockgtk.c b/src/gtk/gsockgtk.c index 2750b73318..006a04fbf0 100644 --- a/src/gtk/gsockgtk.c +++ b/src/gtk/gsockgtk.c @@ -5,10 +5,14 @@ * 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) @@ -53,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; @@ -76,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; @@ -105,3 +109,5 @@ unsigned long GSocket_GetEventID(GSocket *socket) void GSocket_DoEvent(unsigned long evt_id) { } + +#endif /* wxUSE_SOCKETS */