aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/contact-list-editor/e-contact-list-editor.c
diff options
context:
space:
mode:
authorLarry Ewing <lewing@ximian.com>2003-06-14 12:34:20 +0800
committerLarry Ewing <lewing@src.gnome.org>2003-06-14 12:34:20 +0800
commit1761fff007b20c765181f7e89c1cb4fd84c699e3 (patch)
treecf9abbc667602f494d2eaf5d2054980c4e30585b /addressbook/gui/contact-list-editor/e-contact-list-editor.c
parentb3b0f96535867fa18399c4769fdd6bf2168ba144 (diff)
downloadgsoc2013-evolution-1761fff007b20c765181f7e89c1cb4fd84c699e3.tar
gsoc2013-evolution-1761fff007b20c765181f7e89c1cb4fd84c699e3.tar.gz
gsoc2013-evolution-1761fff007b20c765181f7e89c1cb4fd84c699e3.tar.bz2
gsoc2013-evolution-1761fff007b20c765181f7e89c1cb4fd84c699e3.tar.lz
gsoc2013-evolution-1761fff007b20c765181f7e89c1cb4fd84c699e3.tar.xz
gsoc2013-evolution-1761fff007b20c765181f7e89c1cb4fd84c699e3.tar.zst
gsoc2013-evolution-1761fff007b20c765181f7e89c1cb4fd84c699e3.zip
Fix lots of leaks, update for correct use of g_object_get. Some misc
2003-06-13 Larry Ewing <lewing@ximian.com> * gui/component/addressbook.c: * gui/component/e-cardlist-model.c: * gui/component/select-names/e-select-names-text-model.c: * gui/contact-editor/e-contact-editor.c: * gui/contact-editor/e-contact-save-as.c: * gui/contact-list-editor/e-contact-list-editor.c: * gui/widgets/e-addressbook-table-adapter.c: * gui/widgets/e-addressbook-util.c: * gui/widgets/e-addressbook-view.c: * gui/widgets/e-minicard-view.c: * gui/widgets/e-minicard.c: Fix lots of leaks, update for correct use of g_object_get. Some misc cleanups. svn path=/trunk/; revision=21442
Diffstat (limited to 'addressbook/gui/contact-list-editor/e-contact-list-editor.c')
-rw-r--r--addressbook/gui/contact-list-editor/e-contact-list-editor.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/addressbook/gui/contact-list-editor/e-contact-list-editor.c b/addressbook/gui/contact-list-editor/e-contact-list-editor.c
index 029e7fc06e..ab6ea97096 100644
--- a/addressbook/gui/contact-list-editor/e-contact-list-editor.c
+++ b/addressbook/gui/contact-list-editor/e-contact-list-editor.c
@@ -135,7 +135,7 @@ e_contact_list_editor_class_init (EContactListEditorClass *klass)
object_class->set_property = e_contact_list_editor_set_property;
object_class->get_property = e_contact_list_editor_get_property;
- object_class->dispose = e_contact_list_editor_dispose;
+ /* object_class->dispose = e_contact_list_editor_dispose;*/
g_object_class_install_property (object_class, PROP_BOOK,
g_param_spec_object ("book",
@@ -968,6 +968,7 @@ extract_info(EContactListEditor *editor)
}
g_free (dest_xml);
}
+ g_object_unref (email_list);
}
}
@@ -992,6 +993,7 @@ fill_in_info(EContactListEditor *editor)
if (file_as) {
int position = 0;
gtk_editable_insert_text (GTK_EDITABLE (editor->list_name_entry), file_as, strlen (file_as), &position);
+ g_free (file_as);
}
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON(editor->visible_addrs_checkbutton), !show_addresses);
@@ -1013,6 +1015,7 @@ fill_in_info(EContactListEditor *editor)
e_iterator_next (email_iter);
}
+ g_object_unref (email_list);
}
}