SessionData refcounting too complicated
This is the equivalent code in GObject: https://gitlab.gnome.org/GNOME/glib/blob/master/gobject/gobject.c#L3382-3401
This is the equivalent code in GObject: https://gitlab.gnome.org/GNOME/glib/blob/master/gobject/gobject.c#L3382-3401