Re: Fix for Glibmm-2.34.0 on MSVC++2010/Windows



On Wed, 2012-10-24 at 15:03 +0200, Dos Santos, Oliveira wrote:
> -Glib::RefPtr<Gio::Icon> content_type_get_symbloic_icon(const
> Glib::ustring& type)
> +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()));
> +
> +#ifdef G_OS_UNIX
> +      Glib::RefPtr<Icon> retvalue =
> Glib::wrap(g_content_type_get_symbolic_icon(type.c_str()));
> +#else
> +       Glib::RefPtr<Icon> retvalue =
> Glib::wrap(g_content_type_get_icon(type.c_str()));
> +#endif
> + 

Is this part of the patch really necessary?  It doesn't seem in gio that
g_content_type_get_symbolic_icon() is only available for Unix.

-- 
José




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]