summaryrefslogtreecommitdiff
path: root/gdk/gdkwindow.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdk/gdkwindow.c')
-rw-r--r--gdk/gdkwindow.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index af3d17a0d5..f6516e5130 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -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);
}