window-props: Fix assert testing

I have *no* idea how this even compiled in the first place. What the hell?
This commit is contained in:
Jasper St. Pierre 2014-07-10 14:42:46 -04:00
parent a7b7213017
commit 36bb05b10e

View File

@ -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