Commit bb29c1fc authored by Matthias Clasen's avatar Matthias Clasen

gdk: Add some parameter checking

This may help coverity recognize that we're not called with
invalid combinations.
parent 2b105dc3
......@@ -9872,6 +9872,8 @@ gdk_window_set_geometry_hints (GdkWindow *window,
const GdkGeometry *geometry,
GdkWindowHints geom_mask)
{
g_return_if_fail (geometry != NULL || geom_mask == 0);
GDK_WINDOW_IMPL_GET_CLASS (window->impl)->set_geometry_hints (window, geometry, geom_mask);
}
......
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