yes, since in glib the function is not built for windows, same is for glibmm, as you can see from the attached patch. I also wrote a post on http://www.giuspen.com/2014/02/build-gtkmm-3-6-0-windows-binaries-on-official-gtk-3-6-4-bundle/ if it could be useful to you including all patches and scripts and detailed steps.
On Wed, Mar 5, 2014 at 12:36 PM, Murray Cumming <murr...@murrayc.com> wrote: > On Sun, 2014-01-12 at 03:01 +0100, Giuseppe Penone wrote: > > I successfully built on windows, based on gtk > > +-bundle_3.6.4-20130921_win32.zip > > > > the following stack: > > > > - libsigc++-2.2.11 > > - glibmm-2.34.1 (with one patch: the function > > content_type_get_symbolic_icon between #ifdef G_OS_UNIX ... #endif > > according to the mail > > > https://mail.gnome.org/archives/commits-list/2012-September/msg08990.html) > > That is a commit to glib. Did you need to make some change to glibmm? > > > - atkmm-2.22.6 > > - cairomm-1.10.0 > > - pangomm-2.28.4 > > - gtkmm-3.6.0 > [snip] > > -- > murr...@murrayc.com > www.murrayc.com > www.openismus.com > >
--- 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<Gio::Icon> content_type_get_symbolic_icon(const Glib::ustring& type) { Glib::RefPtr<Icon> 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<Icon> 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<Icon> content_type_get_symbolic_icon(const Glib::ustring& type); +#endif /** * Checks if a content type can be executable. Note that for instance
_______________________________________________ gtkmm-list mailing list gtkmm-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtkmm-list