From 36bb05b10eb0976bf77a782d0f648189353bf0db Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Thu, 10 Jul 2014 14:42:46 -0400 Subject: [PATCH] window-props: Fix assert testing I have *no* idea how this even compiled in the first place. What the hell? --- src/x11/window-props.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/x11/window-props.c b/src/x11/window-props.c index b8b106173..1d2d95553 100644 --- a/src/x11/window-props.c +++ b/src/x11/window-props.c @@ -1754,7 +1754,7 @@ meta_display_init_window_prop_hooks (MetaDisplay *display) while (cursor->property) { /* Doing initial loading doesn't make sense if we just want notification */ - g_assert (!(hooks->load_initially && hooks->type == META_PROP_VALUE_INVALID)); + g_assert (!(cursor->load_initially && cursor->type == META_PROP_VALUE_INVALID)); /* Atoms are safe to use with GINT_TO_POINTER because it's safe with * anything 32 bits or less, and atoms are 32 bits with the top three