[Fixes bug #1176294] Fix loading of icons with GTK# 2.12.20 on Windows.

I'm not sure why the new version of GTK# broke the old method, but we're
now using the approach suggested by the GTK documentation.