glib/glib
Tim Janik 5c2fb3762f added a define G_HOOK_DEFERRED_DESTROY, to substitute a noop
Sun Jan 17 14:13:52 1999  Tim Janik  <timj@gtk.org>

        * glib.h: added a define G_HOOK_DEFERRED_DESTROY, to substitute a noop
        GHookList.hook_destroy function.

        * ghook.c (g_hook_destroy_link): don't really call hook_destroy if it
        is G_HOOK_DEFERRED_DESTROY. for the case where we invoke hook->destroy()
        we now clean up the hook completely afterwards, i.e. data, func and
        destroy are immediately set to NULL and hook_free can't play with that
        values anymore.

        * gmain.c (g_source_add): set hook_destroy to G_HOOK_DEFERRED_DESTROY,
        instead of using an ugly _noop() hack, this is to avoid an uneccessary
        function invokation. set hook_free to g_source_destroy_func, this way
        we always invoke the destroy notifiers for user_data and source_data
        after execution of dispatch(). thus, g_source_destroy_func() will always
        be called within the main_loop lock (this wasn't really assured
        before), and can release and reaquire the look around destroy notifier
        invokation.
1999-01-17 14:52:20 +00:00
..
garray.c Fixed size in g_memmove, reported by Alexander Larsson 1998-12-17 08:02:38 +00:00
gbacktrace.c This commit merges the glib-threads branch into the main 1998-12-15 05:28:02 +00:00
gcache.c version bump to 1.1.8, binary age 0, interface age 0. 1998-12-16 05:38:35 +00:00
gcompletion.c This commit merges the glib-threads branch into the main 1998-12-15 05:28:02 +00:00
gdataset.c version bump to 1.1.8, binary age 0, interface age 0. 1998-12-16 05:38:35 +00:00
gdate.c #warning isn't portable, check for gcc 1999-01-12 17:58:26 +00:00
gerror.c This commit merges the glib-threads branch into the main 1998-12-15 05:28:02 +00:00
ghash.c version bump to 1.1.8, binary age 0, interface age 0. 1998-12-16 05:38:35 +00:00
ghook.c added a define G_HOOK_DEFERRED_DESTROY, to substitute a noop 1999-01-17 14:52:20 +00:00
giochannel.c Merge in current Win32 version. Almost no Unix code touched. 1999-01-16 23:46:42 +00:00
giounix.c new function to check whether a main loop has been quitted. (g_main_new): 1998-12-18 02:23:33 +00:00
giowin32.c Merge in current Win32 version. Almost no Unix code touched. 1999-01-16 23:46:42 +00:00
glib.def Merge in current Win32 version. Almost no Unix code touched. 1999-01-16 23:46:42 +00:00
glib.h added a define G_HOOK_DEFERRED_DESTROY, to substitute a noop 1999-01-17 14:52:20 +00:00
glist.c version bump to 1.1.8, binary age 0, interface age 0. 1998-12-16 05:38:35 +00:00
gmain.c added a define G_HOOK_DEFERRED_DESTROY, to substitute a noop 1999-01-17 14:52:20 +00:00
gmem.c Fixed size in g_memmove, reported by Alexander Larsson 1998-12-17 08:02:38 +00:00
gmessages.c Merge in current Win32 version. Almost no Unix code touched. 1999-01-16 23:46:42 +00:00
gnode.c version bump to 1.1.8, binary age 0, interface age 0. 1998-12-16 05:38:35 +00:00
gprimes.c This commit merges the glib-threads branch into the main 1998-12-15 05:28:02 +00:00
grel.c This commit merges the glib-threads branch into the main 1998-12-15 05:28:02 +00:00
gscanner.c eliminated extraneous "register" qualifiers in variable declarations. 1999-01-04 20:09:59 +00:00
gslist.c version bump to 1.1.8, binary age 0, interface age 0. 1998-12-16 05:38:35 +00:00
gstrfuncs.c Merge in current Win32 version. Almost no Unix code touched. 1999-01-16 23:46:42 +00:00
gstring.c version bump to 1.1.8, binary age 0, interface age 0. 1998-12-16 05:38:35 +00:00
gtimer.c This commit merges the glib-threads branch into the main 1998-12-15 05:28:02 +00:00
gtree.c version bump to 1.1.8, binary age 0, interface age 0. 1998-12-16 05:38:35 +00:00
gutils.c Merge in current Win32 version. Almost no Unix code touched. 1999-01-16 23:46:42 +00:00
Makefile.am Added 'make check' tests, based on testglib code. 1999-01-03 03:42:59 +00:00