mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 03:10:09 +00:00
gdk: Add some parameter checking
This may help coverity recognize that we're not called with invalid combinations.
This commit is contained in:
parent
2b105dc3d9
commit
bb29c1fcc5
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user