X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f675b4f521c6696648674d8901e2d6162ab5e2fb..74a8f67d96591cec101def2a7d47c64072aff7fd:/src/gtk/evtloop.cpp?ds=sidebyside diff --git a/src/gtk/evtloop.cpp b/src/gtk/evtloop.cpp index 54b216836a..a35be35ab0 100644 --- a/src/gtk/evtloop.cpp +++ b/src/gtk/evtloop.cpp @@ -91,10 +91,12 @@ void wxGUIEventLoop::WakeUp() extern "C" { -static gboolean wx_on_channel_event(GIOChannel * WXUNUSED_UNLESS_DEBUG(channel), +static gboolean wx_on_channel_event(GIOChannel *channel, GIOCondition condition, gpointer data) { + wxUnusedVar(channel); // Unused if !wxUSE_LOG || !wxDEBUG_LEVEL + wxLogTrace(wxTRACE_EVT_SOURCE, "wx_on_channel_event, fd=%d, condition=%08x", g_io_channel_unix_get_fd(channel), condition);