From d1cfc9aeeebab5ed3e98686fb59fbdcd5521b5c4 Mon Sep 17 00:00:00 2001 From: Jim Evins Date: Mon, 4 Nov 2002 03:58:55 +0000 Subject: [PATCH] Unref highlight before destroying group. git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@174 f5e0f49d-192f-0410-a22d-a8d8700d0965 --- glabels2/src/view-object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glabels2/src/view-object.c b/glabels2/src/view-object.c index bdb3c02f..3e0ab89d 100644 --- a/glabels2/src/view-object.c +++ b/glabels2/src/view-object.c @@ -150,8 +150,8 @@ gl_view_object_finalize (GObject *object) g_list_remove (view->selected_object_list, object); g_object_unref (GL_VIEW_OBJECT(object)->private->object); - gtk_object_destroy (GTK_OBJECT(GL_VIEW_OBJECT(object)->private->group)); g_object_unref (G_OBJECT(GL_VIEW_OBJECT(object)->private->highlight)); + gtk_object_destroy (GTK_OBJECT(GL_VIEW_OBJECT(object)->private->group)); gtk_object_destroy (GTK_OBJECT(GL_VIEW_OBJECT(object)->private->menu)); if (GL_VIEW_OBJECT(object)->private->property_dialog) { gtk_object_destroy (GTK_OBJECT(GL_VIEW_OBJECT(object)->private->property_dialog)); -- 2.39.5