[mutter] restart: Fix pointer/XID confusion



commit 5df59f75cd4afead2a11b8570d128f57a2c5c75a
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Thu Jul 17 11:50:08 2014 -0400

    restart: Fix pointer/XID confusion
    
    This causes an error in recent gcc.

 src/core/restart.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/core/restart.c b/src/core/restart.c
index 903f8e8..f01464c 100644
--- a/src/core/restart.c
+++ b/src/core/restart.c
@@ -53,7 +53,7 @@ meta_restart_init (void)
 {
   Display *xdisplay = meta_ui_get_display ();
   Atom atom_restart_helper = XInternAtom (xdisplay, "_MUTTER_RESTART_HELPER", False);
-  Window restart_helper_window = NULL;
+  Window restart_helper_window = None;
 
   restart_helper_window = XGetSelectionOwner (xdisplay, atom_restart_helper);
   if (restart_helper_window)


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