Commit 31d3be96 authored by Matthias Clasen's avatar Matthias Clasen

Be safe against stray booleans

Since gboolean is a typedef for int, the compiler won't complain
about gdk_window_set_event_compression (w, 2). So, make it work.
parent 4a531ec6
......@@ -9947,7 +9947,7 @@ gdk_window_set_event_compression (GdkWindow *window,
g_return_if_fail (GDK_IS_WINDOW (window));
window->event_compression = event_compression;
window->event_compression = !!event_compression;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment