use g_type_is_a() to check for object_type being a G_TYPE_OBJECT, not
authorTim Janik <timj@gtk.org>
Fri, 9 Mar 2001 09:14:32 +0000 (09:14 +0000)
committerTim Janik <timj@src.gnome.org>
Fri, 9 Mar 2001 09:14:32 +0000 (09:14 +0000)
commitae5764c57effebccb5716ee50ffb050f738613c2
tree4c728e57ad72c36b252d605b7f956251d8bb2a82
parent64fd11dfe768cb737efeb4dc204bb483a0a9a872
use g_type_is_a() to check for object_type being a G_TYPE_OBJECT, not

Fri Mar  9 10:14:00 2001  Tim Janik  <timj@gtk.org>

        * gparamspecs.c (g_param_spec_object): use g_type_is_a() to check
        for object_type being a G_TYPE_OBJECT, not G_TYPE_IS_OBJECT(), since
        that wouldn't allow interface types.

        * gtype.c (g_type_interface_add_prerequisite): arg, fixed small cnp bug
        with bad implications and an off-by-one error.
docs/reference/glib/tmpl/glib-unused.sgml
docs/reference/glib/tmpl/trees-binary.sgml
gobject/ChangeLog
gobject/gparamspecs.c
gobject/gtype.c