GApplicationCommandLine: add printf annotations
authorRyan Lortie <desrt@desrt.ca>
Mon, 25 Oct 2010 18:45:19 +0000 (14:45 -0400)
committerRyan Lortie <desrt@desrt.ca>
Mon, 25 Oct 2010 18:45:19 +0000 (14:45 -0400)
to g_application_command_line_print{,err}

gio/gapplicationcommandline.h

index 7c120a5..79493c5 100644 (file)
@@ -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,