Skip to content

gtkiconcache: Use g_stat instead of fstat

Christoph Reiter requested to merge creiter/gtk:win32-use-g-stat into master

stat/fstat aren't compatible with GStatBuf on Windows in all cases. Since we don't really need the file descriptor anyway here replace it with a g_stat call.

This fixes a compiler warning with 64bit mingw. And lets us remove this scary ifdeffery.

Merge request reports