aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/contact-editor
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-05-16 17:23:42 +0800
committerChris Lahey <clahey@src.gnome.org>2000-05-16 17:23:42 +0800
commit0a21ae9e0897278bf48b04dd3729059e14e3ca75 (patch)
tree68926cddea57d02508c37f5719daa3627ad53c4f /addressbook/gui/contact-editor
parent18fa92ee1db9cc931f2783a1343ddad7f0418ede (diff)
downloadgsoc2013-evolution-0a21ae9e0897278bf48b04dd3729059e14e3ca75.tar
gsoc2013-evolution-0a21ae9e0897278bf48b04dd3729059e14e3ca75.tar.gz
gsoc2013-evolution-0a21ae9e0897278bf48b04dd3729059e14e3ca75.tar.bz2
gsoc2013-evolution-0a21ae9e0897278bf48b04dd3729059e14e3ca75.tar.lz
gsoc2013-evolution-0a21ae9e0897278bf48b04dd3729059e14e3ca75.tar.xz
gsoc2013-evolution-0a21ae9e0897278bf48b04dd3729059e14e3ca75.tar.zst
gsoc2013-evolution-0a21ae9e0897278bf48b04dd3729059e14e3ca75.zip
Fixed a compile error.
2000-05-16 Christopher James Lahey <clahey@helixcode.com> * contact-editor/e-contact-editor-categories.c: Fixed a compile error. svn path=/trunk/; revision=3078
Diffstat (limited to 'addressbook/gui/contact-editor')
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor-categories.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/addressbook/gui/contact-editor/e-contact-editor-categories.c b/addressbook/gui/contact-editor/e-contact-editor-categories.c
index 5568b7bc71..05c86ac1b4 100644
--- a/addressbook/gui/contact-editor/e-contact-editor-categories.c
+++ b/addressbook/gui/contact-editor/e-contact-editor-categories.c
@@ -301,12 +301,13 @@ e_contact_editor_categories_init (EContactEditorCategories *categories)
void
e_contact_editor_categories_destroy (GtkObject *object)
{
- EContactEditorCategories *e_contact_editor_categories = E_CONTACT_EDITOR_CATEGORIES(object);
+ EContactEditorCategories *categories = E_CONTACT_EDITOR_CATEGORIES(object);
+ int i;
- if (e_contact_editor_categories->gui)
- gtk_object_unref(GTK_OBJECT(e_contact_editor_categories->gui));
+ if (categories->gui)
+ gtk_object_unref(GTK_OBJECT(categories->gui));
- g_free(e_contact_editor_categories->categories);
+ g_free(categories->categories);
for (i = 0; i < categories->list_length; i++)
g_free(categories->category_list[i]);
g_free(categories->category_list);