• Tim Janik's avatar
    typedef gint gboolean; this is needed to provide portability with · 004f0982
    Tim Janik authored
    Thu May 14 04:14:12 1998  Tim Janik  <timj@gtk.org>
    
            * glib.h: typedef gint gboolean;
            this is needed to provide portability with big-endian platforms (e.g.
            try sizeof(bool) for c++ on big-endians - it's 4).
            this is also needed to maintain some_union.d_gint==some_union.d_gboolean.
            plus, gint to gboolean casts and vice versa need to be possible without
            loss.
    
    Thu May 14 03:04:43 1998  Tim Janik  <timj@gtk.org>
    
            * gtk/gtktypeutils.c (gtk_type_free): new function to take care about
            freeing types.
            (gtk_type_set_chunk_alloc): new function to allow allocation of new
            types from a mem_chunk of certain size (n_chunks==0 indicates allocation
            thorugh g_malloc).
    
            * gtk/gtkobject.c (gtk_object_finalize): free an object through
            gtk_type_free().
    
            * gtk/gtkbutton.c (gtk_button_get_type): set chunk preallocation for
            GtkButtons to 16.
            * gtk/gtkmenuitem.c (gtk_menu_item_get_type): likewise (16).
            * gtk/gtklabel.c (gtk_label_get_type): likewise (32).
    004f0982
Name
Last commit
Last update
debian Loading commit data...
docs Loading commit data...
examples Loading commit data...
gdk Loading commit data...
glib Loading commit data...
gtk Loading commit data...
tests Loading commit data...
.cvsignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
ChangeLog.pre-1-0 Loading commit data...
ChangeLog.pre-2-0 Loading commit data...
ChangeLog.pre-2-10 Loading commit data...
ChangeLog.pre-2-2 Loading commit data...
ChangeLog.pre-2-4 Loading commit data...
ChangeLog.pre-2-6 Loading commit data...
ChangeLog.pre-2-8 Loading commit data...
HACKING Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
Makefile.in Loading commit data...
NEWS Loading commit data...
NEWS.pre-1-0 Loading commit data...
README Loading commit data...
TODO Loading commit data...
acconfig.h Loading commit data...
autogen.sh Loading commit data...
config.guess Loading commit data...
config.h.in Loading commit data...
config.sub Loading commit data...
configure.in Loading commit data...
gtk+.spec Loading commit data...
gtk-config.in Loading commit data...
gtk.m4 Loading commit data...
install-sh Loading commit data...
ltconfig Loading commit data...
ltmain.sh Loading commit data...
makecopyright Loading commit data...
missing Loading commit data...
mkinstalldirs Loading commit data...
stamp-h.in Loading commit data...