if (overlaid_icon_name) {
GdkPixbuf *overlaid_pixbuf;
+#ifdef G_OS_WIN32
+ gchar *dir = g_win32_get_package_installation_directory_of_module (NULL);
+ gchar *overlaid_icon_path = g_build_filename (dir, "share", "evince", overlaid_icon_name, NULL);
+ g_free (dir);
+#else
gchar *overlaid_icon_path = g_strdup_printf ("%s/%s", DATADIR, overlaid_icon_name);
+#endif
overlaid_pixbuf = gdk_pixbuf_new_from_file (overlaid_icon_path, NULL);
g_free (overlaid_icon_path);
if (overlaid_pixbuf != NULL) {