dbus: Acquire "org.gnome.Shell.Screenshot" bus-name

This commit is contained in:
Rico Tzschichholz 2017-02-16 19:33:15 +01:00
parent bb5e880e41
commit 1841dc23ef

View File

@ -49,6 +49,11 @@ namespace Gala
},
() => {},
() => critical ("Could not acquire name") );
Bus.own_name (BusType.SESSION, "org.gnome.Shell.Screenshot", BusNameOwnerFlags.REPLACE,
() => {},
() => {},
() => critical ("Could not acquire name") );
}
private DBus ()