[Spice-devel] [PATCH spice-gtk] desktop-integration: Create D-Bus proxy only when bus name exists

Christophe Fergeau cfergeau at redhat.com
Wed Jan 28 03:34:26 PST 2015


On Wed, Jan 28, 2015 at 11:50:26AM +0100, Marc-André Lureau wrote:
> On Wed, Jan 28, 2015 at 11:12 AM, Pavel Grunt <pgrunt at redhat.com> wrote:
> > It avoids calling D-Bus methods when the bus name
> > "org.gnome.SessionManager" does not exist.
> >
> > GSpice-WARNING **: Error calling 'org.gnome.SessionManager.Inhibit': GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
> > ---
> > The warning appears in other than Gnome desktop environment
> 
> Since it is required to prevent automount from racing with auto-usb
> redirection, I would say that a warning is ok.

An explicit warning would be even better imo ;) I don't think a lot of
people will be thinking "Oh, this DBus warning most likely means my
desktop enviroment automount may race with usb redirection".

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20150128/86f576a9/attachment.sig>


More information about the Spice-devel mailing list