Re: GSEAL branch merge
- From: Christian Persch <chpe gnome org>
- To: gtk-devel-list gnome org
- Subject: Re: GSEAL branch merge
- Date: Fri, 20 Jun 2008 18:05:06 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]