_listener_message_path_is_our_session (GSListener  *listener,
                                       DBusMessage *message)
{
        const char *ssid;
        gboolean    ours;

        ours = FALSE;

        ssid = dbus_message_get_path (message);
        if (ssid != NULL
            && listener->priv->session_id != NULL
            && strcmp (ssid, listener->priv->session_id) == 0) {
                ours = TRUE;
        }

        return ours;
}
_listener_message_path_is_our_session (GSListener  *listener,
                                       DBusMessage *message)
{
        const char *ssid;
        gboolean    ours;

        ours = FALSE;

        ssid = dbus_message_get_path (message);
        if (ssid != NULL
            && listener->priv->session_id != NULL
            && strcmp (ssid, listener->priv->session_id) == 0) {
                ours = TRUE;
        }

        return ours;
}