1
0
Fork 0

restart: Fix pointer/XID confusion

This causes an error in recent gcc.
This commit is contained in:
Jasper St. Pierre 2014-07-17 11:50:08 -04:00
parent 029673d0ee
commit 5df59f75cd

View file

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