mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-12 21:40:19 +00:00
chain finalize to parent class to get removed from the toplevel_list.
2001-11-03 Hans Breuer <hans@breuer.org> * gtk/gtkfilesel.c (gtk_file_selection_finalize) : chain finalize to parent class to get removed from the toplevel_list. Should fix 'random' crashes of #63474. * gtk/gtktreemodelsort.c : chain finalize() to parent class
This commit is contained in:
parent
9d8e5e0ba8
commit
2a0f4e7d9a
@ -1,3 +1,11 @@
|
|||||||
|
2001-11-03 Hans Breuer <hans@breuer.org>
|
||||||
|
|
||||||
|
* gtk/gtkfilesel.c (gtk_file_selection_finalize) : chain
|
||||||
|
finalize to parent class to get removed from the toplevel_list.
|
||||||
|
Should fix 'random' crashes of #63474.
|
||||||
|
|
||||||
|
* gtk/gtktreemodelsort.c : chain finalize() to parent class
|
||||||
|
|
||||||
2001-11-03 Tor Lillqvist <tml@iki.fi>
|
2001-11-03 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* modules/input/Makefile.am: Use -no-undefined on Windows. Look
|
* modules/input/Makefile.am: Use -no-undefined on Windows. Look
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
2001-11-03 Hans Breuer <hans@breuer.org>
|
||||||
|
|
||||||
|
* gtk/gtkfilesel.c (gtk_file_selection_finalize) : chain
|
||||||
|
finalize to parent class to get removed from the toplevel_list.
|
||||||
|
Should fix 'random' crashes of #63474.
|
||||||
|
|
||||||
|
* gtk/gtktreemodelsort.c : chain finalize() to parent class
|
||||||
|
|
||||||
2001-11-03 Tor Lillqvist <tml@iki.fi>
|
2001-11-03 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* modules/input/Makefile.am: Use -no-undefined on Windows. Look
|
* modules/input/Makefile.am: Use -no-undefined on Windows. Look
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
2001-11-03 Hans Breuer <hans@breuer.org>
|
||||||
|
|
||||||
|
* gtk/gtkfilesel.c (gtk_file_selection_finalize) : chain
|
||||||
|
finalize to parent class to get removed from the toplevel_list.
|
||||||
|
Should fix 'random' crashes of #63474.
|
||||||
|
|
||||||
|
* gtk/gtktreemodelsort.c : chain finalize() to parent class
|
||||||
|
|
||||||
2001-11-03 Tor Lillqvist <tml@iki.fi>
|
2001-11-03 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* modules/input/Makefile.am: Use -no-undefined on Windows. Look
|
* modules/input/Makefile.am: Use -no-undefined on Windows. Look
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
2001-11-03 Hans Breuer <hans@breuer.org>
|
||||||
|
|
||||||
|
* gtk/gtkfilesel.c (gtk_file_selection_finalize) : chain
|
||||||
|
finalize to parent class to get removed from the toplevel_list.
|
||||||
|
Should fix 'random' crashes of #63474.
|
||||||
|
|
||||||
|
* gtk/gtktreemodelsort.c : chain finalize() to parent class
|
||||||
|
|
||||||
2001-11-03 Tor Lillqvist <tml@iki.fi>
|
2001-11-03 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* modules/input/Makefile.am: Use -no-undefined on Windows. Look
|
* modules/input/Makefile.am: Use -no-undefined on Windows. Look
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
2001-11-03 Hans Breuer <hans@breuer.org>
|
||||||
|
|
||||||
|
* gtk/gtkfilesel.c (gtk_file_selection_finalize) : chain
|
||||||
|
finalize to parent class to get removed from the toplevel_list.
|
||||||
|
Should fix 'random' crashes of #63474.
|
||||||
|
|
||||||
|
* gtk/gtktreemodelsort.c : chain finalize() to parent class
|
||||||
|
|
||||||
2001-11-03 Tor Lillqvist <tml@iki.fi>
|
2001-11-03 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* modules/input/Makefile.am: Use -no-undefined on Windows. Look
|
* modules/input/Makefile.am: Use -no-undefined on Windows. Look
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
2001-11-03 Hans Breuer <hans@breuer.org>
|
||||||
|
|
||||||
|
* gtk/gtkfilesel.c (gtk_file_selection_finalize) : chain
|
||||||
|
finalize to parent class to get removed from the toplevel_list.
|
||||||
|
Should fix 'random' crashes of #63474.
|
||||||
|
|
||||||
|
* gtk/gtktreemodelsort.c : chain finalize() to parent class
|
||||||
|
|
||||||
2001-11-03 Tor Lillqvist <tml@iki.fi>
|
2001-11-03 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* modules/input/Makefile.am: Use -no-undefined on Windows. Look
|
* modules/input/Makefile.am: Use -no-undefined on Windows. Look
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
2001-11-03 Hans Breuer <hans@breuer.org>
|
||||||
|
|
||||||
|
* gtk/gtkfilesel.c (gtk_file_selection_finalize) : chain
|
||||||
|
finalize to parent class to get removed from the toplevel_list.
|
||||||
|
Should fix 'random' crashes of #63474.
|
||||||
|
|
||||||
|
* gtk/gtktreemodelsort.c : chain finalize() to parent class
|
||||||
|
|
||||||
2001-11-03 Tor Lillqvist <tml@iki.fi>
|
2001-11-03 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* modules/input/Makefile.am: Use -no-undefined on Windows. Look
|
* modules/input/Makefile.am: Use -no-undefined on Windows. Look
|
||||||
|
@ -1168,6 +1168,8 @@ gtk_file_selection_finalize (GObject *object)
|
|||||||
GtkFileSelection *filesel = GTK_FILE_SELECTION (object);
|
GtkFileSelection *filesel = GTK_FILE_SELECTION (object);
|
||||||
|
|
||||||
g_free (filesel->fileop_file);
|
g_free (filesel->fileop_file);
|
||||||
|
|
||||||
|
G_OBJECT_CLASS (parent_class)->finalize (object);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Begin file operations callbacks */
|
/* Begin file operations callbacks */
|
||||||
|
@ -214,6 +214,7 @@ static GtkTreePath *gtk_real_tree_model_sort_convert_child_path_to_path (GtkTree
|
|||||||
GtkTreePath *child_path,
|
GtkTreePath *child_path,
|
||||||
gboolean build_levels);
|
gboolean build_levels);
|
||||||
|
|
||||||
|
static GObjectClass *parent_class = NULL;
|
||||||
|
|
||||||
GType
|
GType
|
||||||
gtk_tree_model_sort_get_type (void)
|
gtk_tree_model_sort_get_type (void)
|
||||||
@ -280,6 +281,7 @@ gtk_tree_model_sort_class_init (GtkTreeModelSortClass *class)
|
|||||||
GObjectClass *object_class;
|
GObjectClass *object_class;
|
||||||
|
|
||||||
object_class = (GObjectClass *) class;
|
object_class = (GObjectClass *) class;
|
||||||
|
parent_class = g_type_class_peek_parent (class);
|
||||||
|
|
||||||
object_class->finalize = gtk_tree_model_sort_finalize;
|
object_class->finalize = gtk_tree_model_sort_finalize;
|
||||||
}
|
}
|
||||||
@ -351,6 +353,9 @@ gtk_tree_model_sort_finalize (GObject *object)
|
|||||||
_gtk_tree_data_list_header_free (tree_model_sort->sort_list);
|
_gtk_tree_data_list_header_free (tree_model_sort->sort_list);
|
||||||
tree_model_sort->sort_list = NULL;
|
tree_model_sort->sort_list = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* must chain up */
|
||||||
|
parent_class->finalize (object);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user