After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 507300 - Custom properties are not unregistered on widget destruction
Custom properties are not unregistered on widget destruction
Status: RESOLVED FIXED
Product: anjuta
Classification: Applications
Component: libanjuta
SVN TRUNK
Other Linux
: Normal normal
: ---
Assigned To: Naba Kumar
Anjuta maintainers
Depends on:
Blocks:
 
 
Reported: 2008-01-04 17:01 UTC by Rob Bradford
Modified: 2008-01-05 12:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Unregister custom properties on widget destruction (1.14 KB, patch)
2008-01-04 17:02 UTC, Rob Bradford
committed Details | Review

Description Rob Bradford 2008-01-04 17:01:25 UTC
Currently anjuta_preferences_register_property_custom () does not hook into the 'destroy' signal for the custom widget. This means you can get calls into the set_property function with an old AnjutaProperty object which has an invalid widget associated with it.

Patch attached.

This work was sponsored by OpenedHand Ltd.
Comment 1 Rob Bradford 2008-01-04 17:02:38 UTC
Created attachment 102133 [details] [review]
Unregister custom properties on widget destruction
Comment 2 Naba Kumar 2008-01-05 12:44:27 UTC
Thanks for the patch. This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.