Re: disabling GTK+ features to shrink GTK+
- From: Alberto Ruiz <aruiz gnome org>
- To: Andrew Ziem <ahz001 gmail com>
- Cc: gtk-devel-list gnome org
- Subject: Re: disabling GTK+ features to shrink GTK+
- Date: Mon, 14 Jun 2010 23:59:57 +0100
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  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.
] [Thread Prev