Re: gtkdoc-scangobj patch



On Wed, 2001-10-31 at 12:20, Owen Taylor wrote:
> 
> jacob berkman <jacob ximian com> writes:
> 
> > hello,
> > 
> > this patch allows gtk's docs to build w/o an X connection.  it also
> > provides a way for you to use a different type init func than
> > gtk_type_init().  in this way, the --nogtkinit argument could just be
> > removed.
> > 
> > if you don't like this, could we at least change gtk_init() to
> > gtk_type_init() so it doesn't require X?
> 
> I would support changing gtkdoc-scangobj to remove nogtkinit
> and have only --init-func, defaulting to g_type_init().
> I don't think gtkdoc-scangobj should have anything GTK+ specific
> in it.

i almost went this approach, but it is called "gtk-doc" and not
"g-doc"...

> 
> Actually, we are supposed to be moving to use lazy initialization
> of enum/flags/boxed for GTK+ as we do for all other libraries,
> which would probably allow simply using g_type_init() for GTK+.

this sounds even better.

jacob
-- 
"Beat mixing is 10000 times more fun than even video games."
	-- bt



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