try
{
#if OS_WIN32
-print("Windows\n");
string? base_path = g_win32_get_package_installation_directory_of_module (null);
// Hack to allow running within the source tree
return new Gdk.Pixbuf.from_file_at_size (filename, size, size);
#else
-print("Linux\n");
var icon_theme = Gtk.IconTheme.get_default ();
return icon_theme.load_icon (name, size, Gtk.IconLookupFlags.FORCE_SIZE);
#endif