[mutter] restart: Fix pointer/XID confusion
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] restart: Fix pointer/XID confusion
- Date: Thu, 17 Jul 2014 15:51:08 +0000 (UTC)
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]