Re: pango_font_map_changed()
- From: Behdad Esfahbod <behdad behdad org>
- To: John Emmas <johne53 tiscali co uk>
- Cc: gtk-i18n-list gnome org
- Subject: Re: pango_font_map_changed()
- Date: Thu, 25 Apr 2013 15:23:28 -0400
Just remove the "return" please.
On 13-04-25 05:14 AM, John Emmas wrote:
void
pango_font_map_changed (PangoFontMap *fontmap)
{
g_return_if_fail (PANGO_IS_FONT_MAP (fontmap));
if (PANGO_FONT_MAP_GET_CLASS (fontmap)->changed)
return PANGO_FONT_MAP_GET_CLASS (fontmap)->changed (fontmap);
}
Microsoft's Visual Studio gives me the following compiler warning when I build
the above function from pango-fontmap.c:-
pango-fontmap.c(338) : warning C4098: 'pango_font_map_changed' : 'void'
function returning a value
There are too many macros in the way for me assess whether or not this is a
genuine error but it looks like it might be. Where's the right place to
report it?
John
_______________________________________________
gtk-i18n-list mailing list
gtk-i18n-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-i18n-list
--
behdad
http://behdad.org/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]