forked from AuroraMiddleware/gtk
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. https://bugzilla.gnome.org/show_bug.cgi?id=742566
This commit is contained in:
parent
4a531ec6ab
commit
31d3be96e4
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user