destruction cleanup. there's one ->finalize_hook member in the hooklist
authorTim Janik <timj@gtk.org>
Thu, 8 Mar 2001 16:34:59 +0000 (16:34 +0000)
committerTim Janik <timj@src.gnome.org>
Thu, 8 Mar 2001 16:34:59 +0000 (16:34 +0000)
commit617332234d4426ed0941ec1e2cb9f0736bd796c3
tree096311062437edd7f702200e6d8b1f9486f6dcad
parentc811ed93d3e7b64b3fcf5aab7ac405e0a8d36a59
destruction cleanup. there's one ->finalize_hook member in the hooklist

Thu Mar  8 16:23:34 2001  Tim Janik  <timj@gtk.org>

        * ghook.[hc]: destruction cleanup. there's one
        ->finalize_hook member in the hooklist now that gets
        called when a hook should be destroyed, that's it.
        that function is guarranteed to be called only when
        all ref_counts to the hook vanished, thus also when
        the hook is not in call.

Thu Mar  8 16:35:48 2001  Tim Janik  <timj@gtk.org>

        * gparamspecs.[hc]: s/g_param_spec_string_c/g_param_spec_stringc/.

        * gsignal.[hc]: fixed accumulator invocation, implemented emission
        hooks. and no, neither of these callbacks are called via a closure,
        language bindings can wrap the accumulator and emission hook
        interface, they already get parameters marshalled into a GValue array.
        (g_signal_connect): removed this function as its C specific, doesn't
        cover the swapped argument, is too close to its broken original
        gtk_signal_connect() and creates demand for _swapped, _after and
        _swapped_after variants <brrr>.
        (g_signal_connectc): convenience macro to connect a C handler
        func with data, like the old g_signal_connect() plus swapped
        argument.

        * gtype.h:
        * gboxed.c: added G_TYPE_VALUE boxed type.
27 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
docs/reference/glib/tmpl/glib-unused.sgml
docs/reference/glib/tmpl/hooks.sgml
docs/reference/glib/tmpl/macros_misc.sgml
docs/reference/gobject/tmpl/gobject-unused.sgml
docs/reference/gobject/tmpl/signals.sgml
docs/reference/gobject/tmpl/standard_params.sgml
docs/reference/gobject/tmpl/types.sgml
ghook.c
ghook.h
glib/ghook.c
glib/ghook.h
gobject/ChangeLog
gobject/gboxed.c
gobject/gobject.c
gobject/gparamspecs.c
gobject/gparamspecs.h
gobject/gsignal.c
gobject/gsignal.h
gobject/gtype.h