lists.zerezo.com
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
***BOGO*** Re: GSEAL branch merge
- Date: Fri, 20 Jun 2008 18:05:06 +0200
- From: Christian Persch <chpe@xxxxxxxxx>
- Subject: ***BOGO*** Re: GSEAL branch merge
Hi;
what's the purpose of sealing the "GtkFooPrivate *priv" members of
GtkFoo structs? Those are opaque pointers that code outside of gtk
cannot access anyway. And in gtk+ itself using obj->priv is just a
pointer deref while using G_TYPE_INSTANCE_GET_PRIVATE which you replaced
it with is more costly than that.
Christian
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-devel-list