core: Shuffle startup notification object creation

Hook properly to MetaDisplay, instead of having it be a singleton.
This commit is contained in:
Carlos Garnacho
2018-08-22 22:51:26 +02:00
committed by Georges Basile Stavracas Neto
parent 8a10196382
commit 4a69a0d7f7
3 changed files with 6 additions and 11 deletions

View File

@ -50,7 +50,7 @@ G_DECLARE_DERIVABLE_TYPE (MetaStartupSequence,
GObject)
MetaStartupNotification *
meta_startup_notification_get (MetaDisplay *display);
meta_startup_notification_new (MetaDisplay *display);
gboolean meta_startup_notification_handle_xevent (MetaStartupNotification *sn,
XEvent *xevent);