git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@169
f5e0f49d-192f-0410-a22d-
a8d8700d0965
g_return_if_fail (object && GL_IS_VIEW_HIGHLIGHT (object));
- g_object_unref (GL_VIEW_HIGHLIGHT(object)->private->object);
-
gtk_object_destroy (GTK_OBJECT(GL_VIEW_HIGHLIGHT(object)->private->group));
G_OBJECT_CLASS (parent_class)->finalize (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->menu));
- gtk_object_destroy (GTK_OBJECT(GL_VIEW_OBJECT(object)->private->property_dialog));
+ if (GL_VIEW_OBJECT(object)->private->property_dialog) {
+ gtk_object_destroy (GTK_OBJECT(GL_VIEW_OBJECT(object)->private->property_dialog));
+ }
G_OBJECT_CLASS (parent_class)->finalize (object);