Skip to content

DeprecationWarning: Gio.DBusConnection.register_object is deprecated #148

Description

@Machion

I have Sticky 1.24 installed.

A line in my xsession-errors file says:

/usr/lib/sticky/sticky.py:813: DeprecationWarning: Gio.DBusConnection.register_object is deprecated
self.dbus_register_id = connection.register_object(

The corresponding documentation on https://docs.gtk.org/gio/method.DBusConnection.register_object_with_closures.html says:

Deprecated since: 2.84
Deprecated in favour of g_dbus_connection_register_object_with_closures2(), which has more binding-friendly reference counting semantics.`

There is also an issue at the pygobject gitlab page https://gitlab.gnome.org/GNOME/pygobject/-/issues/688

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions