removed g_dataset_try_key, g_dataset_force_id and g_dataset_retrive_key in
authorTim Janik <timj@gtk.org>
Fri, 19 Jun 1998 02:00:23 +0000 (02:00 +0000)
committerTim Janik <timj@src.gnome.org>
Fri, 19 Jun 1998 02:00:23 +0000 (02:00 +0000)
commitafdf8b93a308562faa2bd76c2bd64c6870fc0c66
tree2b7252c1d70007300e9568c42d997d24c7ba0eae
parent12edfe9084596d9c5bd727ff9435ae544d9c6ad3
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.
12 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gdataset.c
glib.h
glib/gdataset.c
glib/glib.h