[mutter] window-props: Fix assert testing



commit 36bb05b10eb0976bf77a782d0f648189353bf0db
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Thu Jul 10 14:42:46 2014 -0400

    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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/x11/window-props.c b/src/x11/window-props.c
index b8b1061..1d2d955 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]