Re: GdkLibrary



Sven Neumann <sven gimp org> writes:

> Hi,
> 
> Owen Taylor <otaylor redhat com> writes:
> 
> >  * Does it make sense to move more functions onto this object;
> >    possibilities among newly added 2.2 functions would be:
> > 
> >     void gdk_parse_args (...) => GdkLibrary *gdk_library_open (...)
> 
> while you are changing this part of GDK anyway, would it hurt to to
> allow GDK backends to modify the argv array just like gtk_init() and
> gdk_init()? This would remove the need for some patching we had to do
> to integrate DirectFBInit (int *argc, char **argv[]).
> 
> I haven't found the time to look at the HEAD branch, but if you think
> this makes sense, I could try to come up with a patch soon.

Did you miss the _gdk_windowing_args[] functionality? The only
reason that wouldn't work is if the directfb support is taking
arguments that don't match that format of the rest of the
GTK+ args. (which seems like a bad idea to me.)

Regards,
                                        Owen



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