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)
This commit is contained in:
committed by
Matthias Clasen
parent
8d4f4d5fde
commit
a362428d2a
18
ChangeLog
18
ChangeLog
@ -1,3 +1,21 @@
|
|||||||
|
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)
|
||||||
|
|
||||||
Sun Feb 22 02:10:34 2004 Matthias Clasen <maclas@gmx.de>
|
Sun Feb 22 02:10:34 2004 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* gtk/gtkentrycompletion.c (gtk_entry_completion_default_completion_func):
|
* gtk/gtkentrycompletion.c (gtk_entry_completion_default_completion_func):
|
||||||
|
|||||||
@ -1,3 +1,21 @@
|
|||||||
|
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)
|
||||||
|
|
||||||
Sun Feb 22 02:10:34 2004 Matthias Clasen <maclas@gmx.de>
|
Sun Feb 22 02:10:34 2004 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* gtk/gtkentrycompletion.c (gtk_entry_completion_default_completion_func):
|
* gtk/gtkentrycompletion.c (gtk_entry_completion_default_completion_func):
|
||||||
|
|||||||
@ -1,3 +1,21 @@
|
|||||||
|
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)
|
||||||
|
|
||||||
Sun Feb 22 02:10:34 2004 Matthias Clasen <maclas@gmx.de>
|
Sun Feb 22 02:10:34 2004 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* gtk/gtkentrycompletion.c (gtk_entry_completion_default_completion_func):
|
* gtk/gtkentrycompletion.c (gtk_entry_completion_default_completion_func):
|
||||||
|
|||||||
@ -1,3 +1,21 @@
|
|||||||
|
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)
|
||||||
|
|
||||||
Sun Feb 22 02:10:34 2004 Matthias Clasen <maclas@gmx.de>
|
Sun Feb 22 02:10:34 2004 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* gtk/gtkentrycompletion.c (gtk_entry_completion_default_completion_func):
|
* gtk/gtkentrycompletion.c (gtk_entry_completion_default_completion_func):
|
||||||
|
|||||||
@ -1,3 +1,21 @@
|
|||||||
|
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)
|
||||||
|
|
||||||
Sun Feb 22 02:10:34 2004 Matthias Clasen <maclas@gmx.de>
|
Sun Feb 22 02:10:34 2004 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* gtk/gtkentrycompletion.c (gtk_entry_completion_default_completion_func):
|
* gtk/gtkentrycompletion.c (gtk_entry_completion_default_completion_func):
|
||||||
|
|||||||
@ -379,6 +379,8 @@ gtk_action_finalize (GObject *object)
|
|||||||
g_closure_unref (action->private_data->accel_closure);
|
g_closure_unref (action->private_data->accel_closure);
|
||||||
if (action->private_data->accel_group)
|
if (action->private_data->accel_group)
|
||||||
g_object_unref (action->private_data->accel_group);
|
g_object_unref (action->private_data->accel_group);
|
||||||
|
|
||||||
|
G_OBJECT_CLASS (parent_class)->finalize (object);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|||||||
@ -143,6 +143,8 @@ static void
|
|||||||
gtk_clipboard_finalize (GObject *object)
|
gtk_clipboard_finalize (GObject *object)
|
||||||
{
|
{
|
||||||
clipboard_unset (GTK_CLIPBOARD (object));
|
clipboard_unset (GTK_CLIPBOARD (object));
|
||||||
|
|
||||||
|
G_OBJECT_CLASS (parent_class)->finalize (object);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|||||||
@ -118,6 +118,7 @@ static void gtk_entry_completion_action_data_func (GtkTreeViewColumn
|
|||||||
gpointer data);
|
gpointer data);
|
||||||
|
|
||||||
|
|
||||||
|
static GObjectClass *parent_class = NULL;
|
||||||
static guint entry_completion_signals[LAST_SIGNAL] = { 0 };
|
static guint entry_completion_signals[LAST_SIGNAL] = { 0 };
|
||||||
|
|
||||||
|
|
||||||
@ -165,6 +166,7 @@ gtk_entry_completion_class_init (GtkEntryCompletionClass *klass)
|
|||||||
{
|
{
|
||||||
GObjectClass *object_class;
|
GObjectClass *object_class;
|
||||||
|
|
||||||
|
parent_class = g_type_class_peek_parent (klass);
|
||||||
object_class = (GObjectClass *)klass;
|
object_class = (GObjectClass *)klass;
|
||||||
|
|
||||||
object_class->set_property = gtk_entry_completion_set_property;
|
object_class->set_property = gtk_entry_completion_set_property;
|
||||||
@ -384,6 +386,8 @@ gtk_entry_completion_finalize (GObject *object)
|
|||||||
|
|
||||||
if (completion->priv->popup_window)
|
if (completion->priv->popup_window)
|
||||||
gtk_widget_destroy (completion->priv->popup_window);
|
gtk_widget_destroy (completion->priv->popup_window);
|
||||||
|
|
||||||
|
G_OBJECT_CLASS (parent_class)->finalize (object);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* implement cell layout interface */
|
/* implement cell layout interface */
|
||||||
|
|||||||
@ -119,6 +119,8 @@ gtk_file_chooser_widget_finalize (GObject *object)
|
|||||||
GtkFileChooserWidget *chooser = GTK_FILE_CHOOSER_WIDGET (object);
|
GtkFileChooserWidget *chooser = GTK_FILE_CHOOSER_WIDGET (object);
|
||||||
|
|
||||||
g_free (chooser->priv->file_system);
|
g_free (chooser->priv->file_system);
|
||||||
|
|
||||||
|
G_OBJECT_CLASS (parent_class)->finalize (object);
|
||||||
}
|
}
|
||||||
|
|
||||||
static GObject*
|
static GObject*
|
||||||
|
|||||||
@ -174,6 +174,8 @@ static void root_files_removed_callback (GtkFileFolder *folder,
|
|||||||
GSList *paths,
|
GSList *paths,
|
||||||
GtkFileSystemModel *model);
|
GtkFileSystemModel *model);
|
||||||
|
|
||||||
|
static GObjectClass *parent_class = NULL;
|
||||||
|
|
||||||
GType
|
GType
|
||||||
_gtk_file_system_model_get_type (void)
|
_gtk_file_system_model_get_type (void)
|
||||||
{
|
{
|
||||||
@ -216,7 +218,9 @@ static void
|
|||||||
gtk_file_system_model_class_init (GtkFileSystemModelClass *class)
|
gtk_file_system_model_class_init (GtkFileSystemModelClass *class)
|
||||||
{
|
{
|
||||||
GObjectClass *gobject_class = G_OBJECT_CLASS (class);
|
GObjectClass *gobject_class = G_OBJECT_CLASS (class);
|
||||||
|
|
||||||
|
parent_class = g_type_class_peek_parent (class);
|
||||||
|
|
||||||
gobject_class->finalize = gtk_file_system_model_finalize;
|
gobject_class->finalize = gtk_file_system_model_finalize;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -269,6 +273,8 @@ gtk_file_system_model_finalize (GObject *object)
|
|||||||
file_model_node_free (children);
|
file_model_node_free (children);
|
||||||
children = next;
|
children = next;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
G_OBJECT_CLASS (parent_class)->finalize (object);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@ -212,6 +212,8 @@ static BuiltinIcon *find_builtin_icon (const gchar *icon_name,
|
|||||||
gint *min_difference_p,
|
gint *min_difference_p,
|
||||||
gboolean *has_larger_p);
|
gboolean *has_larger_p);
|
||||||
|
|
||||||
|
static GObjectClass *parent_class = NULL;
|
||||||
|
|
||||||
static guint signal_changed = 0;
|
static guint signal_changed = 0;
|
||||||
|
|
||||||
static GHashTable *icon_theme_builtin_icons;
|
static GHashTable *icon_theme_builtin_icons;
|
||||||
@ -330,6 +332,8 @@ gtk_icon_theme_class_init (GtkIconThemeClass *klass)
|
|||||||
{
|
{
|
||||||
GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
|
GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
|
||||||
|
|
||||||
|
parent_class = g_type_class_peek_parent (klass);
|
||||||
|
|
||||||
gobject_class->finalize = gtk_icon_theme_finalize;
|
gobject_class->finalize = gtk_icon_theme_finalize;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -608,6 +612,8 @@ gtk_icon_theme_finalize (GObject *object)
|
|||||||
priv->search_path = NULL;
|
priv->search_path = NULL;
|
||||||
|
|
||||||
blow_themes (icon_theme);
|
blow_themes (icon_theme);
|
||||||
|
|
||||||
|
G_OBJECT_CLASS (parent_class)->finalize (object);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -400,6 +400,8 @@ gtk_text_child_anchor_finalize (GObject *obj)
|
|||||||
}
|
}
|
||||||
|
|
||||||
anchor->segment = NULL;
|
anchor->segment = NULL;
|
||||||
|
|
||||||
|
G_OBJECT_CLASS (parent_class)->finalize (obj);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -153,6 +153,7 @@ enum
|
|||||||
PROP_UI
|
PROP_UI
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static GObjectClass *parent_class = NULL;
|
||||||
static guint ui_manager_signals[LAST_SIGNAL] = { 0 };
|
static guint ui_manager_signals[LAST_SIGNAL] = { 0 };
|
||||||
|
|
||||||
static GMemChunk *merge_node_chunk = NULL;
|
static GMemChunk *merge_node_chunk = NULL;
|
||||||
@ -190,6 +191,8 @@ gtk_ui_manager_class_init (GtkUIManagerClass *klass)
|
|||||||
{
|
{
|
||||||
GObjectClass *gobject_class;
|
GObjectClass *gobject_class;
|
||||||
|
|
||||||
|
parent_class = g_type_class_peek_parent (klass);
|
||||||
|
|
||||||
gobject_class = G_OBJECT_CLASS (klass);
|
gobject_class = G_OBJECT_CLASS (klass);
|
||||||
|
|
||||||
if (!merge_node_chunk)
|
if (!merge_node_chunk)
|
||||||
@ -405,6 +408,8 @@ gtk_ui_manager_finalize (GObject *object)
|
|||||||
|
|
||||||
g_object_unref (self->private_data->accel_group);
|
g_object_unref (self->private_data->accel_group);
|
||||||
self->private_data->accel_group = NULL;
|
self->private_data->accel_group = NULL;
|
||||||
|
|
||||||
|
G_OBJECT_CLASS (parent_class)->finalize (object);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|||||||
Reference in New Issue
Block a user