From 0a21ae9e0897278bf48b04dd3729059e14e3ca75 Mon Sep 17 00:00:00 2001
From: Christopher James Lahey <clahey@helixcode.com>
Date: Tue, 16 May 2000 09:23:42 +0000
Subject: 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
---
 addressbook/gui/contact-editor/e-contact-editor-categories.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

(limited to 'addressbook/gui')

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);
-- 
cgit