Bug 539123 – annotate g_d[n]gettext with G_GNUC_FORMAT
authorChristian Persch <chpe@src.gnome.org>
Thu, 19 Jun 2008 14:09:42 +0000 (14:09 +0000)
committerChristian Persch <chpe@src.gnome.org>
Thu, 19 Jun 2008 14:09:42 +0000 (14:09 +0000)
svn path=/trunk/; revision=7062

ChangeLog
glib/glib.symbols
glib/gstrfuncs.h

index 84c0841..cf6742f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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()
index db14b7c..f523a77 100644 (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
index 8f53e8e..f58a285 100644 (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);