]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/gsockgtk.cpp
fixed warnings about pointer to integer cast
[wxWidgets.git] / src / gtk / gsockgtk.cpp
index ae8e1a9da5382eb5c3426f66bd26b7daf15c5d85..af5fbe635dcc799fe3b35ec3d57ba8138734015d 100644 (file)
@@ -109,9 +109,10 @@ void GSocketGUIFunctionsTableConcrete::Uninstall_Callback(GSocket *socket, GSock
   }
 
   if (m_id[c] != -1)
+  {
     gdk_input_remove(m_id[c]);
-
-  m_id[c] = -1;
+    m_id[c] = -1;
+  }
 }
 
 void GSocketGUIFunctionsTableConcrete::Enable_Events(GSocket *socket)