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

Marc-André Lureau mlureau at redhat.com
Wed Jan 28 03:34:49 PST 2015


Hi

----- Original Message -----
> Hi,
> 
> > 
> > Since it is required to prevent automount from racing with auto-usb
> > redirection, I would say that a warning is ok.
> >
> > 
> > What desktop are you using? If you reach that error, it means there
> > was a org.gnome.SessionManager.
> > 
> I tested it in Xfce and KDE. I think there wasn't org.gnome.SessionManager (I
> cannot find it using d-feet).
> g_dbus_proxy_new_for_bus_sync does not check the existence of D-Bus name -
> maybe we should check it.

Right, I think checking g_dbus_proxy_get_name_owner () != NULL should be enough.

> I will send another version which will not trigger the warning on each focus
> in / out.
> 
> Thanks,
> 
> Pavel
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
> 


More information about the Spice-devel mailing list