diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-05-16 18:53:58 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-05-16 18:53:58 +0800 |
commit | 006c78bdab12452630ecf0f7b97c8f0870fcca8c (patch) | |
tree | d3329de6bea82d3c2b64ac27b5d215f22cd42b86 | |
parent | 8d248f9b8e22d9d88dc1354da1a83b42e943ab98 (diff) | |
download | gsoc2013-evolution-006c78bdab12452630ecf0f7b97c8f0870fcca8c.tar gsoc2013-evolution-006c78bdab12452630ecf0f7b97c8f0870fcca8c.tar.gz gsoc2013-evolution-006c78bdab12452630ecf0f7b97c8f0870fcca8c.tar.bz2 gsoc2013-evolution-006c78bdab12452630ecf0f7b97c8f0870fcca8c.tar.lz gsoc2013-evolution-006c78bdab12452630ecf0f7b97c8f0870fcca8c.tar.xz gsoc2013-evolution-006c78bdab12452630ecf0f7b97c8f0870fcca8c.tar.zst gsoc2013-evolution-006c78bdab12452630ecf0f7b97c8f0870fcca8c.zip |
Fixed a reference leak.
2000-05-16 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor-categories.c: Fixed a reference
leak.
svn path=/trunk/; revision=3084
-rw-r--r-- | addressbook/ChangeLog | 7 | ||||
-rw-r--r-- | addressbook/contact-editor/e-contact-editor-categories.c | 2 | ||||
-rw-r--r-- | addressbook/gui/contact-editor/e-contact-editor-categories.c | 2 |
3 files changed, 10 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 76a1e59f14..76fc271026 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,8 +1,13 @@ 2000-05-16 Christopher James Lahey <clahey@helixcode.com> + * contact-editor/e-contact-editor-categories.c: Fixed a reference + leak. + +2000-05-16 Christopher James Lahey <clahey@helixcode.com> + * contact-editor/e-contact-editor-categories.c: Fixed a compile error. - + 2000-05-16 Christopher James Lahey <clahey@helixcode.com> * contact-editor/e-contact-editor-categories.c: Got rid of a diff --git a/addressbook/contact-editor/e-contact-editor-categories.c b/addressbook/contact-editor/e-contact-editor-categories.c index 05c86ac1b4..8355c9cd96 100644 --- a/addressbook/contact-editor/e-contact-editor-categories.c +++ b/addressbook/contact-editor/e-contact-editor-categories.c @@ -289,6 +289,8 @@ e_contact_editor_categories_init (EContactEditorCategories *categories) e_table_header_add_column (header, col, 1); e_table = e_table_new (header, categories->model, INITIAL_SPEC); + + gtk_object_sink(categories->model); gtk_widget_show(e_table); diff --git a/addressbook/gui/contact-editor/e-contact-editor-categories.c b/addressbook/gui/contact-editor/e-contact-editor-categories.c index 05c86ac1b4..8355c9cd96 100644 --- a/addressbook/gui/contact-editor/e-contact-editor-categories.c +++ b/addressbook/gui/contact-editor/e-contact-editor-categories.c @@ -289,6 +289,8 @@ e_contact_editor_categories_init (EContactEditorCategories *categories) e_table_header_add_column (header, col, 1); e_table = e_table_new (header, categories->model, INITIAL_SPEC); + + gtk_object_sink(categories->model); gtk_widget_show(e_table); |