gtk/gtkactiongroup.c gtk/gtkcellrendererspin.c gtk/gtkfilechooserbutton.c

2008-08-07  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkactiongroup.c
	* gtk/gtkcellrendererspin.c
	* gtk/gtkfilechooserbutton.c
	* gtk/gtktoolitem.c: chain up unconditionally in finalize().


svn path=/trunk/; revision=21036
This commit is contained in:
Michael Natterer 2008-08-07 14:21:47 +00:00 committed by Michael Natterer
parent 8371b465dc
commit 81934ca8c6
5 changed files with 13 additions and 10 deletions

View File

@ -1,3 +1,10 @@
2008-08-07 Michael Natterer <mitch@imendio.com>
* gtk/gtkactiongroup.c
* gtk/gtkcellrendererspin.c
* gtk/gtkfilechooserbutton.c
* gtk/gtktoolitem.c: chain up unconditionally in finalize().
2008-08-07 Michael Natterer <mitch@imendio.com>
* gtk/gtkclist.c

View File

@ -498,8 +498,7 @@ gtk_action_group_finalize (GObject *object)
if (private->translate_notify)
private->translate_notify (private->translate_data);
if (parent_class->finalize)
(* parent_class->finalize) (object);
parent_class->finalize (object);
}
static void

View File

@ -150,8 +150,7 @@ gtk_cell_renderer_spin_finalize (GObject *object)
if (priv && priv->adjustment)
g_object_unref (priv->adjustment);
if (G_OBJECT_CLASS (gtk_cell_renderer_spin_parent_class)->finalize)
(* G_OBJECT_CLASS (gtk_cell_renderer_spin_parent_class)->finalize) (object);
G_OBJECT_CLASS (gtk_cell_renderer_spin_parent_class)->finalize (object);
}
static void

View File

@ -883,8 +883,7 @@ gtk_file_chooser_button_finalize (GObject *object)
if (priv->old_file)
g_object_unref (priv->old_file);
if (G_OBJECT_CLASS (gtk_file_chooser_button_parent_class)->finalize != NULL)
(*G_OBJECT_CLASS (gtk_file_chooser_button_parent_class)->finalize) (object);
G_OBJECT_CLASS (gtk_file_chooser_button_parent_class)->finalize (object);
}
/* ********************* *

View File

@ -284,12 +284,11 @@ gtk_tool_item_finalize (GObject *object)
GtkToolItem *item = GTK_TOOL_ITEM (object);
g_free (item->priv->menu_item_id);
if (item->priv->menu_item)
g_object_unref (item->priv->menu_item);
if (G_OBJECT_CLASS (gtk_tool_item_parent_class)->finalize)
G_OBJECT_CLASS (gtk_tool_item_parent_class)->finalize (object);
G_OBJECT_CLASS (gtk_tool_item_parent_class)->finalize (object);
}
static void