Re: gboolean definition and size
- From: Havoc Pennington <hp redhat com>
- To: Dan Nicolaescu <dann godzilla ICS UCI EDU>
- Cc: gtk-devel-list gnome org
- Subject: Re: gboolean definition and size
- Date: 12 Sep 2001 20:44:55 -0400
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]