On Mon, Jun 14, 2010 at 4:59 PM, Alberto Ruiz <ar...@gnome.org> wrote: > 2010/6/14 Andrew Ziem <ahz...@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 _______________________________________________ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list