Bug 539123 – annotate g_d[n]gettext with G_GNUC_FORMAT

svn path=/trunk/; revision=7062
This commit is contained in:
Christian Persch 2008-06-19 14:09:42 +00:00
parent 53a4e573de
commit ee5c5df6b1
3 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,10 @@
2008-06-16 Christian Persch <chpe@gnome.org>
Bug 539123 annotate g_d[n]gettext with G_GNUC_FORMAT
* glib/gstrfuncs.h:
* glib/glib.symbols: Annotate some functions with G_GNUC_FORMAT.
2008-06-19 Tor Lillqvist <tml@novell.com>
Bug 539074 - Cannot get exit status with g_spawn_command_line_sync()

View File

@ -1149,8 +1149,8 @@ g_strdown
#endif
g_strv_length
g_strip_context G_GNUC_FORMAT(1)
g_dgettext
g_dngettext
g_dgettext G_GNUC_FORMAT(2)
g_dngettext G_GNUC_FORMAT(3)
g_dpgettext G_GNUC_FORMAT(2)
#endif
#endif

View File

@ -248,12 +248,12 @@ G_CONST_RETURN gchar *g_strip_context (const gchar *msgid,
const gchar *msgval) G_GNUC_FORMAT(1);
G_CONST_RETURN gchar *g_dgettext (const gchar *domain,
const gchar *msgid);
const gchar *msgid) G_GNUC_FORMAT(2);
G_CONST_RETURN gchar *g_dngettext (const gchar *domain,
const gchar *msgid,
const gchar *msgid_plural,
gulong n);
gulong n) G_GNUC_FORMAT(3);
G_CONST_RETURN gchar *g_dpgettext (const gchar *domain,
const gchar *msgctxtid,
gsize msgidoffset) G_GNUC_FORMAT(2);