diff options
author | Michael Natterer <mitch@imendio.com> | 2008-06-18 09:12:32 +0000 |
---|---|---|
committer | Michael Natterer <mitch@src.gnome.org> | 2008-06-18 09:12:32 +0000 |
commit | fe8a946e876ad50ad70535ab70380c03a4eab58b (patch) | |
tree | 36a02fd1b3bcb54afc7b1177316a6599230e9ca9 /gtk/gtktreestore.c | |
parent | 060948a43b05e6c62d0d1d246e012cebd1956f5d (diff) | |
download | gtk+-fe8a946e876ad50ad70535ab70380c03a4eab58b.tar.gz |
deprecate GtkDestroyNotify.
2008-06-18 Michael Natterer <mitch@imendio.com>
* gtk/gtktypeutils.h: deprecate GtkDestroyNotify.
* gtk/gtkactiongroup.[ch]
* gtk/gtkcombobox.[ch]
* gtk/gtkcontainer.[ch]
* gtk/gtkliststore.[ch]
* gtk/gtkmain.[ch]
* gtk/gtkmenu.c
* gtk/gtkstock.[ch]
* gtk/gtktreedatalist.[ch]
* gtk/gtktreemodelfilter.[ch]
* gtk/gtktreemodelsort.[ch]
* gtk/gtktreeprivate.h
* gtk/gtktreeselection.[ch]
* gtk/gtktreesortable.[ch]
* gtk/gtktreestore.[ch]
* gtk/gtktreeview.[ch]
* gtk/gtktreeviewcolumn.[ch]: s/GtkDestroyNotify/GDestroyNotify/g.
svn path=/trunk/; revision=20448
Diffstat (limited to 'gtk/gtktreestore.c')
-rw-r--r-- | gtk/gtktreestore.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk/gtktreestore.c b/gtk/gtktreestore.c index e74259b579..dcacbbbec3 100644 --- a/gtk/gtktreestore.c +++ b/gtk/gtktreestore.c @@ -110,11 +110,11 @@ static void gtk_tree_store_set_sort_func (GtkTreeSortable * gint sort_column_id, GtkTreeIterCompareFunc func, gpointer data, - GtkDestroyNotify destroy); + GDestroyNotify destroy); static void gtk_tree_store_set_default_sort_func (GtkTreeSortable *sortable, GtkTreeIterCompareFunc func, gpointer data, - GtkDestroyNotify destroy); + GDestroyNotify destroy); static gboolean gtk_tree_store_has_default_sort_func (GtkTreeSortable *sortable); @@ -431,7 +431,7 @@ gtk_tree_store_finalize (GObject *object) if (tree_store->default_sort_destroy) { - GtkDestroyNotify d = tree_store->default_sort_destroy; + GDestroyNotify d = tree_store->default_sort_destroy; tree_store->default_sort_destroy = NULL; d (tree_store->default_sort_data); @@ -3139,7 +3139,7 @@ gtk_tree_store_set_sort_func (GtkTreeSortable *sortable, gint sort_column_id, GtkTreeIterCompareFunc func, gpointer data, - GtkDestroyNotify destroy) + GDestroyNotify destroy) { GtkTreeStore *tree_store = (GtkTreeStore *) sortable; @@ -3155,13 +3155,13 @@ static void gtk_tree_store_set_default_sort_func (GtkTreeSortable *sortable, GtkTreeIterCompareFunc func, gpointer data, - GtkDestroyNotify destroy) + GDestroyNotify destroy) { GtkTreeStore *tree_store = (GtkTreeStore *) sortable; if (tree_store->default_sort_destroy) { - GtkDestroyNotify d = tree_store->default_sort_destroy; + GDestroyNotify d = tree_store->default_sort_destroy; tree_store->default_sort_destroy = NULL; d (tree_store->default_sort_data); |