• Cosimo Cecchi's avatar
    gdbusproxy: only connect to NameOwnerChanged for message buses · dec0a687
    Cosimo Cecchi authored
    Names are a message bus feature, so it does not make sense to connect
    to NameOwnerChanged when the underlying connection is not a message
    Moreover, g_dbus_connection_signal_subscribe() will also enforce that
    condition. Adding this extra check here is helpful to avoid a critical
    warning when using GDBusProxy with peer-to-peer connections.
gdbusproxy.c 110 KB