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:
  Show dependency tree
 
Reported: 2008-01-04 17:01 UTC by Rob Bradford
Modified: 2008-01-05 12:44 UTC (History)
0 users

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 | Diff | 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.

Note You need to log in before you can comment on or make changes to this bug.