diff options
author | Tim Janik <timj@gtk.org> | 1998-06-19 02:00:23 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 1998-06-19 02:00:23 +0000 |
commit | afdf8b93a308562faa2bd76c2bd64c6870fc0c66 (patch) | |
tree | 2b7252c1d70007300e9568c42d997d24c7ba0eae /ChangeLog.pre-2-6 | |
parent | 12edfe9084596d9c5bd727ff9435ae544d9c6ad3 (diff) |
removed g_dataset_try_key, g_dataset_force_id and g_dataset_retrive_key in
Fri Jun 19 03:11:02 1998 Tim Janik <timj@gtk.org>
* gdataset.c: removed g_dataset_try_key, g_dataset_force_id and
g_dataset_retrive_key in favour of GQuarks.
a GQuark is an numeric id wich is associated with a certain string.
(g_quark_try_string): try to get the quark associated with this string,
if the lookup failed return 0.
(g_quark_from_string): get the associated quark for a string, if there
isn't currently a GQuark associated with this string, then allocate a
new quark and return that.
(g_quark_from_static_string): like the above function, but the string
isn't strdup()ed to save memory.
(g_quark_to_string): get the string that is associated with a certain
GQuark.
* gdataset.c (g_dataset_id_set_data_full): invoke the destroy function
_after_ the new data has been setup.
Diffstat (limited to 'ChangeLog.pre-2-6')
-rw-r--r-- | ChangeLog.pre-2-6 | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 97a10c3e8..4d3558cf8 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,21 @@ +Fri Jun 19 03:11:02 1998 Tim Janik <timj@gtk.org> + + * gdataset.c: removed g_dataset_try_key, g_dataset_force_id and + g_dataset_retrive_key in favour of GQuarks. + a GQuark is an numeric id wich is associated with a certain string. + (g_quark_try_string): try to get the quark associated with this string, + if the lookup failed return 0. + (g_quark_from_string): get the associated quark for a string, if there + isn't currently a GQuark associated with this string, then allocate a + new quark and return that. + (g_quark_from_static_string): like the above function, but the string + isn't strdup()ed to save memory. + (g_quark_to_string): get the string that is associated with a certain + GQuark. + + * gdataset.c (g_dataset_id_set_data_full): invoke the destroy function + _after_ the new data has been setup. + Thu Jun 18 02:35:21 1998 Owen Taylor <otaylor@gtk.org> * glib.h: Changed messages for g_return_[val]_if_fail to |