GNOME Bugzilla – Bug 666518
qtif: Add missing libintl.h include
Last modified: 2011-12-19 15:04:28 UTC
A recent commit added ngettext() calls, but without the include. This resulted in this: io-qtif.c: In function 'gdk_pixbuf__qtif_image_load': io-qtif.c:151:25: warning: implicit declaration of function 'ngettext' [-Wimplicit-function-declaration] io-qtif.c:154:25: warning: passing argument 4 of 'g_set_error' makes pointer from integer without a cast [enabled by default] /usr/include/glib-2.0/glib/gerror.h:75:10: note: expected 'const gchar *' but argument is of type 'int' io-qtif.c:178:33: warning: passing argument 4 of 'g_set_error' makes pointer from integer without a cast [enabled by default] /usr/include/glib-2.0/glib/gerror.h:75:10: note: expected 'const gchar *' but argument is of type 'int' io-qtif.c:191:33: warning: passing argument 4 of 'g_set_error' makes pointer from integer without a cast [enabled by default] /usr/include/glib-2.0/glib/gerror.h:75:10: note: expected 'const gchar *' but argument is of type 'int' io-qtif.c:245:29: warning: passing argument 4 of 'g_set_error' makes pointer from integer without a cast [enabled by default] /usr/include/glib-2.0/glib/gerror.h:75:10: note: expected 'const gchar *' but argument is of type 'int'
Created attachment 203871 [details] [review] qtif: Add missing libintl.h include
Please commit, thanks.
Review of attachment 203871 [details] [review]: Obviously right