]> git.sur5r.net Git - glabels/commitdiff
Unref highlight before destroying group.
authorJim Evins <evins@snaught.com>
Mon, 4 Nov 2002 03:58:55 +0000 (03:58 +0000)
committerJim Evins <evins@snaught.com>
Mon, 4 Nov 2002 03:58:55 +0000 (03:58 +0000)
git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@174 f5e0f49d-192f-0410-a22d-a8d8700d0965

glabels2/src/view-object.c

index bdb3c02fbb31be17602f6a7717850026308a65ee..3e0ab89d79d53e3b6bf62b691284355b61958334 100644 (file)
@@ -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));