restart: Fix pointer/XID confusion
This causes an error in recent gcc.
This commit is contained in:
parent
029673d0ee
commit
5df59f75cd
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue