Unbreak subclassing of UniqueApp
Unbreak subclassing of UniqueApp

As one point, subclassing of UniqueApp was broken by the fact
that you cannot pass an empty startup-id since the logic to
determine a fake startup notification id was only invoked by
the UniqueApp constructors.

This commit moves the startup notification id checks into its
own private setter function that is called by the GObject
property machinery when setting the UniqueApp:startup-id
property.

Signed-off-by: Emmanuele Bassi <049ee2061f71220e5aaf33f5be422fc2a2b06a44@gnome.org>

GNOME/unique,Distrotech/libunique,Distrotech/libunique,GNOME/unique,Distrotech/libunique,GNOME/unique