diff options
author | Tim Janik <timj@gtk.org> | 1998-10-08 06:33:49 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 1998-10-08 06:33:49 +0000 |
commit | 3f7c96b352def3a793552eeca64ddc75db262da8 (patch) | |
tree | 7f0a4a75af80fb39fb26e63ccb656aecd40fd82f /gtk/gtkobject.h | |
parent | 3a5447574bd97c21fcf663f9c3947011ece48017 (diff) | |
download | gtk+-3f7c96b352def3a793552eeca64ddc75db262da8.tar.gz |
removed functions gtk_object_set_data_destroy and
Thu Oct 8 07:07:10 1998 Tim Janik <timj@gtk.org>
* gtk/gtkobject.h:
* gtk/gtkobject.c:
removed functions gtk_object_set_data_destroy and
gtk_object_set_data_destroy_by_id.
added functions gtk_object_remove_no_notify and
gtk_object_remove_no_notify_by_id which will remove a certain data
portion without invokation of its destroy notifier, this should only
be used in very controled circumstances.
Diffstat (limited to 'gtk/gtkobject.h')
-rw-r--r-- | gtk/gtkobject.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/gtk/gtkobject.h b/gtk/gtkobject.h index 8360e06d8a..bc8ee893d6 100644 --- a/gtk/gtkobject.h +++ b/gtk/gtkobject.h @@ -279,9 +279,8 @@ void gtk_object_remove_data (GtkObject *object, const gchar *key); gpointer gtk_object_get_data (GtkObject *object, const gchar *key); -void gtk_object_set_data_destroy(GtkObject *object, - const gchar *key, - GDestroyNotify destroy_func); +void gtk_object_remove_no_notify(GtkObject *object, + const gchar *key); /* Set/get the "user_data" object data field of "object". It should * be noted that these functions are no different than calling @@ -317,9 +316,8 @@ gpointer gtk_object_get_data_by_id (GtkObject *object, GQuark data_id); void gtk_object_remove_data_by_id (GtkObject *object, GQuark data_id); -void gtk_object_set_data_destroy_by_id (GtkObject *object, - GQuark key_id, - GDestroyNotify destroy_func); +void gtk_object_remove_no_notify_by_id (GtkObject *object, + GQuark key_id); #define gtk_object_data_try_key g_quark_try_string #define gtk_object_data_force_id g_quark_from_string |