On Wed, Jun 25, 2014 at 4:58 PM, Allin Cottrell <cottr...@wfu.edu> wrote:
> Just in case anyone else falls into this: there's a potential gotcha if
> you're cross-compiling gtk for (say) Windows on Linux. It took me a while to
> figure out why the Windows version of my app didn't have any GTK icons any
> more!
>
>
> If gtk2 on the Linux host is updated to 2.24.24, and you're cross-building
> gtk2 < 2.24.24 you will end up with a build that doesn't include any of the
> "built-in" GTK icons.

Hey, sorry for not anticipating this possible problem.

>
> and put in /usr/bin a shell script called gtk-update-icon-cache which calls
> gtk-update-icon-cache.bin with the new (and as yet undocumented) option
> --include-image-data:

The option is documented here:
https://developer.gnome.org/gtk3/3.13/gtk-update-icon-cache.html
I'm pretty sure I included the documentation update when
cherry-picking the patch to the 2.24 branch too.

> Actually I wish that the 2.24 branch of GTK were not a domain of
> experimentation.

As Emmanuele said, no experimentation here.

The change itself is pretty harmless. GTK+ (2 as well as 3) is
entirely capable of working with image-data-less icon caches. The one
place where we require image data to be present is the builtin cache,
because the icons are not actually present anywhere else on the
filesystem.

Again, sorry for the inconvenience,


Matthias
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to