X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/865bb3251ecf83ddac350b734f4fed1d258e250b..3d1a1d2df6345ebea69490e03d0befa0def83fd3:/src/gtk1/gsockgtk.cpp?ds=sidebyside diff --git a/src/gtk1/gsockgtk.cpp b/src/gtk1/gsockgtk.cpp index ae8e1a9da5..af5fbe635d 100644 --- a/src/gtk1/gsockgtk.cpp +++ b/src/gtk1/gsockgtk.cpp @@ -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)