Merge Anders' fix from stable.
2003-07-03 Kjartan Maraas <kmaraas@gnome.org> * gconf-property-editor.c: (gconf_property_editor_finalize): Merge Anders' fix from stable.
This commit is contained in:
parent
018c1f7996
commit
73930e8c2a
2 changed files with 14 additions and 1 deletions
|
@ -326,9 +326,17 @@ gconf_property_editor_finalize (GObject *object)
|
|||
g_return_if_fail (IS_GCONF_PROPERTY_EDITOR (object));
|
||||
|
||||
gconf_property_editor = GCONF_PROPERTY_EDITOR (object);
|
||||
|
||||
|
||||
if (gconf_property_editor->p->data_free_cb)
|
||||
gconf_property_editor->p->data_free_cb (gconf_property_editor->p->data);
|
||||
|
||||
if (gconf_property_editor->p->handler_id != 0) {
|
||||
GConfClient *client;
|
||||
|
||||
client = gconf_client_get_default ();
|
||||
gconf_client_notify_remove (client,
|
||||
gconf_property_editor->p->handler_id);
|
||||
}
|
||||
|
||||
g_free (gconf_property_editor->p);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue