Re: disabling GTK+ features to shrink GTK+



2010/6/14 Andrew Ziem <ahz001 gmail com>:
> Would GTK+ upstream accept patches to disable GTK+ features?  For example,
>
>    ./configure --disable-file-chooser-disable
>
> would make the GtkFileChooser() an empty stub.
>
> I ship GTK+ in my application's Windows installer, and I'd like to
> shrink GTK+ because my application's dependencies are ~95% of the
> installer size and GTK+ is about half.  I tried other methods [1] with
> mixed results.  My application uses only a small subset of GTK+
> features, so I could remove the file chooser, font chooser, assistant,
> print support, spin button, recent documents chooser, spinner, etc.

Gtk+'s .dll is not that big actually, most of the size of it comes
from the ammount of dependencies it has and the translation files.

-- 
Un saludo,
Alberto Ruiz


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