[glib] GApplicationCommandLine: add printf annotations
- From: Ryan Lortie <ryanl src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [glib] GApplicationCommandLine: add printf annotations
 
- Date: Mon, 25 Oct 2010 18:46:09 +0000 (UTC)
 
commit e0caf4fd5ee82cc25806e7e86af14a8bf881c513
Author: Ryan Lortie <desrt desrt ca>
Date:   Mon Oct 25 14:45:19 2010 -0400
    GApplicationCommandLine: add printf annotations
    
    to g_application_command_line_print{,err}
 gio/gapplicationcommandline.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gio/gapplicationcommandline.h b/gio/gapplicationcommandline.h
index 7c120a5..79493c5 100644
--- a/gio/gapplicationcommandline.h
+++ b/gio/gapplicationcommandline.h
@@ -97,10 +97,10 @@ gboolean                g_application_command_line_get_is_remote        (GApplic
 
 void                    g_application_command_line_print                (GApplicationCommandLine   *cmdline,
                                                                          const gchar               *format,
-                                                                         ...);
+                                                                         ...) G_GNUC_PRINTF(2, 3);
 void                    g_application_command_line_printerr             (GApplicationCommandLine   *cmdline,
                                                                          const gchar               *format,
-                                                                         ...);
+                                                                         ...) G_GNUC_PRINTF(2, 3);
 
 int                     g_application_command_line_get_exit_status      (GApplicationCommandLine   *cmdline);
 void                    g_application_command_line_set_exit_status      (GApplicationCommandLine   *cmdline,
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]