Re: gboolean definition and size



Dan Nicolaescu <dann godzilla ICS UCI EDU> writes: 
> Then please replace the following gboolean with a bitfield in:
> 
> struct _GtkCellRenderer
> {
>   GtkObject parent;
> 
>   gboolean can_activate;
>   gboolean visible;
> 
> [snip]
> }
> 
> Maybe the GtkCellRenderer could use the same trick as GtkWidget for
> storing these flags in "parent"... That would save 8 bytes. I could
> send a patch for that if desired...

Sure, file a bug on this. A patch is OK but not a big deal, since it's
so trivial.

Havoc




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]