mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 03:10:09 +00:00
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:
parent
8371b465dc
commit
81934ca8c6
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
/* ********************* *
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user