aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog7
-rw-r--r--addressbook/contact-editor/e-contact-editor-categories.c2
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor-categories.c2
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);