]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/gsockgtk.cpp
May as well add the GTK version runtime checks for the other window styles too
[wxWidgets.git] / src / gtk / gsockgtk.cpp
index ffcd57563c224a9e491d874bc024a148f6c996a9..ae8e1a9da5382eb5c3426f66bd26b7daf15c5d85 100644 (file)
@@ -21,6 +21,8 @@
 #include "wx/unix/gsockunx.h"
 
 
+extern "C" {
+static
 void _GSocket_GDK_Input(gpointer data,
                         gint source,
                         GdkInputCondition condition)
@@ -32,6 +34,7 @@ void _GSocket_GDK_Input(gpointer data,
   if (condition & GDK_INPUT_WRITE)
     socket->Detected_Write();
 }
+}
 
 bool GSocketGUIFunctionsTableConcrete::CanUseEventLoop()
 {   return true; }