--- glibmm-2.34.1/gio/giomm/contenttype.cc +++ glibmm-2.34.1/gio/giomm/contenttype.cc @@ -56,6 +56,7 @@ return retvalue; } +#ifdef G_OS_UNIX Glib::RefPtr content_type_get_symbolic_icon(const Glib::ustring& type) { Glib::RefPtr retvalue = Glib::wrap(g_content_type_get_symbolic_icon(type.c_str())); @@ -63,6 +64,7 @@ retvalue->reference(); //The function does not do a ref for us. return retvalue; } +#endif bool content_type_can_be_executable(const Glib::ustring& type) { --- glibmm-2.34.1/gio/giomm/contenttype.h +++ glibmm-2.34.1/gio/giomm/contenttype.h @@ -88,6 +88,7 @@ */ Glib::RefPtr content_type_get_icon(const Glib::ustring& type); +#ifdef G_OS_UNIX /** * Gets the symbolic icon for a content type. * @@ -97,6 +98,7 @@ * @newin{2,34} */ Glib::RefPtr content_type_get_symbolic_icon(const Glib::ustring& type); +#endif /** * Checks if a content type can be executable. Note that for instance