Re: Private types inside GTK+
- From: Colin Walters <walters verbum org>
- To: Matthias Clasen <matthias clasen gmail com>
- Cc: gtk-devel-list gnome org
- Subject: Re: Private types inside GTK+
- Date: Thu, 9 Sep 2010 15:58:26 -0400
On Thu, Sep 9, 2010 at 1:19 PM, Matthias Clasen
<matthias clasen gmail com> wrote:
> I don't think it is worth it. We already have some de-facto private
> types along the lines outlined above: GtkFileSystem, GtkFolder,
> GtkFileSystemModel, GtkPrintBackend...
> I think it is generally ok to do this as long as the private types
> don't leak out as parents of public types.
Random: What about prefixing the "private" types with "_" in GType?
I'd have to update the scanner to not blow up on this, but on the
other hand, it would allow me to actually know they're private,
instead of assuming their absence from public headers (but
availability via g_type_parent) means this.
] [Thread Prev