From: Jim Evins Date: Mon, 4 Nov 2002 03:58:55 +0000 (+0000) Subject: Unref highlight before destroying group. X-Git-Tag: glabels-2_3_0~713 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d1cfc9aeeebab5ed3e98686fb59fbdcd5521b5c4;p=glabels Unref highlight before destroying group. git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@174 f5e0f49d-192f-0410-a22d-a8d8700d0965 --- 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));