gdk: Add some parameter checking

This may help coverity recognize that we're not called with
invalid combinations.
This commit is contained in:
Matthias Clasen 2015-07-17 18:37:20 -04:00
parent 2b105dc3d9
commit bb29c1fcc5

View File

@ -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);
}