Config Bridge: call unbind_all automatically when object is destroyed
Bug #459681 reported by
Michal Hruby
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Desktop Agnostic Library for GLib-based Projects |
Fix Released
|
Low
|
Michal Hruby |
Bug Description
It's a pain to override dispose/finalize handler for each object that uses ConfigClient.bind method, just to call unbind_all in those (not to mention problems when you bind to a property of a standard object and problems this makes for bindings - people don't tend to think about cleaning up in python). LDA already has all necessary info to do the cleanup itself (lists of all bindings per object), therefore I'd be really helpful if the unbind_all was called automatically when the object is destroyed.
Related branches
lp://staging/~awn-core/libdesktop-agnostic/various-fixes
- Mark Lee: Needs Fixing (style, build system)
- Julien Lavergne: Approve
-
Diff: 2099 lines (+1062/-186)37 files modifieddebian/control (+3/-3)
docs/known-issues.rst (+1/-1)
libdesktop-agnostic/config-bridge.vala (+4/-6)
libdesktop-agnostic/config-client.vala (+2/-3)
libdesktop-agnostic/config-impl-gconf.vala (+0/-1)
libdesktop-agnostic/config-impl-keyfile.vala (+4/-1)
libdesktop-agnostic/config-impl-memory.vala (+0/-1)
libdesktop-agnostic/config-impl-null.vala (+0/-1)
libdesktop-agnostic/config-schema.vala (+2/-1)
libdesktop-agnostic/config-type-color.vala (+0/-1)
libdesktop-agnostic/desktop-entry-impl-gio.vala (+394/-0)
libdesktop-agnostic/desktop-entry-impl-glib.vala (+53/-1)
libdesktop-agnostic/desktop-entry-impl-gnome.vala (+0/-1)
libdesktop-agnostic/ui-color-button.vala (+1/-1)
libdesktop-agnostic/ui-icon-chooser-dialog.vala (+147/-64)
libdesktop-agnostic/ui-launcher-editor-dialog.vala (+123/-53)
libdesktop-agnostic/vfs-bookmarks-gtk.vala (+1/-1)
libdesktop-agnostic/vfs-file-impl-gio.vala (+65/-0)
libdesktop-agnostic/vfs-file-impl-gnome-vfs.vala (+18/-0)
libdesktop-agnostic/vfs-file-impl-thunar-vfs.vala (+18/-0)
libdesktop-agnostic/vfs-file.vala (+42/-0)
libdesktop-agnostic/vfs-impl-gio.vala (+0/-1)
libdesktop-agnostic/vfs-impl-gnome-vfs.vala (+0/-1)
libdesktop-agnostic/vfs-impl-thunar-vfs.vala (+0/-1)
libdesktop-agnostic/vfs-trash-impl-gio.vala (+1/-1)
libdesktop-agnostic/vfs-trash-impl-thunar-vfs.vala (+1/-1)
libdesktop-agnostic/vfs-volume-impl-gio.vala (+4/-4)
libdesktop-agnostic/vfs-volume-impl-gnome-vfs.vala (+1/-2)
libdesktop-agnostic/vfs-volume-impl-thunar-vfs.vala (+1/-1)
libdesktop-agnostic/wscript (+14/-5)
python/desktopagnostic.override (+22/-14)
python/fdo.override (+15/-3)
python/ui.override (+5/-1)
python/vfs.defs (+38/-0)
python/vfs.override (+70/-6)
tools/lda-desktop-entry-editor.vala (+2/-2)
wscript (+10/-3)
Changed in libdesktop-agnostic: | |
importance: | Undecided → Low |
summary: |
- Call unbind_all automatically when object is destroyed + Config Bridge: call unbind_all automatically when object is destroyed |
tags: | added: config feature-request |
Changed in libdesktop-agnostic: | |
assignee: | nobody → Michal Hruby (mhr3) |
milestone: | none → 0.3.90 |
status: | New → Fix Released |
To post a comment you must log in.