diff options
author | Matthias Clasen <maclas@gmx.de> | 2004-02-22 02:06:49 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-02-22 02:06:49 +0000 |
commit | a362428d2a92715eca8e0bbc4ad9fb609fd72fe2 (patch) | |
tree | b7b087dfbe67b4b38d575085748d51dfbd98af2b /gtk/gtkuimanager.c | |
parent | 8d4f4d5fdeec1b6d68d01d6d6bc4c4c3576b3e97 (diff) | |
download | gtk+-a362428d2a92715eca8e0bbc4ad9fb609fd72fe2.tar.gz |
Add chains to the parent's ::finalize() handler (#134901, Morten Welinder,
Sun Feb 22 03:03:29 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkaction.c: (gtk_action_finalize):
* gtk/gtkclipboard.c: (gtk_clipboard_finalize):
* gtk/gtkentrycompletion.c: (gtk_entry_completion_class_init),
(gtk_entry_completion_finalize):
* gtk/gtkfilechooserwidget.c: (gtk_file_chooser_widget_finalize):
* gtk/gtkfilesystemmodel.c: (gtk_file_system_model_class_init),
(gtk_file_system_model_finalize):
* gtk/gtkicontheme.c: (gtk_icon_theme_class_init),
(gtk_icon_theme_finalize):
* gtk/gtktextchild.c: (gtk_text_child_anchor_finalize):
* gtk/gtkuimanager.c: (gtk_ui_manager_class_init),
(gtk_ui_manager_finalize):
* modules/input/gtkimcontextxim.c: (gtk_im_context_xim_finalize):
Add chains to the parent's ::finalize() handler (#134901, Morten Welinder,
patch by Jan Arne Petersen)
Diffstat (limited to 'gtk/gtkuimanager.c')
-rw-r--r-- | gtk/gtkuimanager.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtkuimanager.c b/gtk/gtkuimanager.c index dbb8a8c951..4af675301a 100644 --- a/gtk/gtkuimanager.c +++ b/gtk/gtkuimanager.c @@ -153,6 +153,7 @@ enum PROP_UI }; +static GObjectClass *parent_class = NULL; static guint ui_manager_signals[LAST_SIGNAL] = { 0 }; static GMemChunk *merge_node_chunk = NULL; @@ -190,6 +191,8 @@ gtk_ui_manager_class_init (GtkUIManagerClass *klass) { GObjectClass *gobject_class; + parent_class = g_type_class_peek_parent (klass); + gobject_class = G_OBJECT_CLASS (klass); if (!merge_node_chunk) @@ -405,6 +408,8 @@ gtk_ui_manager_finalize (GObject *object) g_object_unref (self->private_data->accel_group); self->private_data->accel_group = NULL; + + G_OBJECT_CLASS (parent_class)->finalize (object); } static void |