Re: disabling GTK+ features to shrink GTK+
- From: Andrew Ziem <ahz001 gmail com>
- To: Alberto Ruiz <aruiz gnome org>
- Cc: gtk-devel-list gnome org
- Subject: Re: disabling GTK+ features to shrink GTK+
- Date: Mon, 14 Jun 2010 21:37:33 -0600
On Mon, Jun 14, 2010 at 4:59 PM, Alberto Ruiz <aruiz gnome org> wrote:
> 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.
For GTK+ 2.16.6, libgtk-win32-2.0-0.dll is 4,740,156 which is 45% of
the bin directory. That may be small relative to a Linux distro, but
my app is an order of magnitude smaller than the one DLL.
Andrew
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]