]> Pileus Git - ~andy/gtk/commit
prevent gdk_init() from segfaulting when invoked with (NULL, NULL); (this
authorTim Janik <timj@gtk.org>
Wed, 10 Jun 1998 07:32:52 +0000 (07:32 +0000)
committerTim Janik <timj@src.gnome.org>
Wed, 10 Jun 1998 07:32:52 +0000 (07:32 +0000)
commitb70abe38c18b0ad794f39cbecd9c80cb5ddd7f6a
treedc3ac6ef6ca18d0c11a62b2d377e80e11f25ec65
parent6430ad631af96318e48f1f349fff2ebaf5598097
prevent gdk_init() from segfaulting when invoked with (NULL, NULL); (this

Wed Jun 10 06:25:17 1998  Tim Janik  <timj@gtk.org>

        * gdk/gdk.c (gdk_init): prevent gdk_init() from segfaulting when
        invoked with (NULL, NULL); (this worked sometime ago).

        * gtk/gtktypeutils.h:
        * gtk/gtktypeutils.c: enum and flags type creation can now be done
        through gtk_type_register_enum() and gtk_type_register_flags(),
        which allow to specify the enum value arrays directly.
        the NULL terminated value arrays can be retrived through
        gtk_type_enum_get_values() and gtk_type_flags_get_values();
        (gtk_type_children_types): new function to query derived types.
12 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gdk/gdk.c
gdk/x11/gdkmain-x11.c
gtk/gtkmain.c
gtk/gtktypeutils.c
gtk/gtktypeutils.h