summaryrefslogtreecommitdiff
path: root/gio/gdbusmessage.c
diff options
context:
space:
mode:
authorHenrique Dante de Almeida <hdante@gmail.com>2013-01-13 14:05:14 -0200
committerColin Walters <walters@verbum.org>2013-01-13 12:15:24 -0500
commit28bd57d6c80d6a0056ef64c5d238c2ad53586997 (patch)
tree383d36eebbec6c8ed4ed87da76f5cf63728fa6bd /gio/gdbusmessage.c
parentde001225c39a4c4f5773b88b9805456f60d11374 (diff)
downloadglib-wip/format-errors.tar.gz
Add G_GNUC_PRINTF on all functions with format stringswip/format-errors
This allows compilation with clang wihtout errors, even when -Wformat-nonliteral is active (as long as there are no real cases of non literal formatting). https://bugzilla.gnome.org/show_bug.cgi?id=691608
Diffstat (limited to 'gio/gdbusmessage.c')
-rw-r--r--gio/gdbusmessage.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gio/gdbusmessage.c b/gio/gdbusmessage.c
index ecbc03385..9181029b4 100644
--- a/gio/gdbusmessage.c
+++ b/gio/gdbusmessage.c
@@ -827,6 +827,7 @@ g_dbus_message_new_method_error_literal (GDBusMessage *method_call_message,
*
* Since: 2.26
*/
+G_GNUC_PRINTF(3, 0)
GDBusMessage *
g_dbus_message_new_method_error_valist (GDBusMessage *method_call_message,
const gchar *error_name,