[vala] gio-2.0: Fix g_application_command_line_print* bindings



commit 7ec03b9515e5fa37598d2ee5b84b5a1b624c388f
Author: JÃrg Billeter <j bitron ch>
Date:   Tue Aug 30 14:27:49 2011 +0200

    gio-2.0: Fix g_application_command_line_print* bindings

 vapi/gio-2.0.vapi                      |    6 ++++--
 vapi/packages/gio-2.0/gio-2.0.metadata |    2 ++
 2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index 8bb8a22..3d87413 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -121,10 +121,12 @@ namespace GLib {
 		public bool get_is_remote ();
 		public GLib.Variant? get_platform_data ();
 		public unowned string getenv (string name);
-		public void print (string format);
+		[PrintfFormat]
+		public void print (string format, ...);
 		[NoWrapper]
 		public virtual void print_literal (string message);
-		public void printerr (string format);
+		[PrintfFormat]
+		public void printerr (string format, ...);
 		[NoWrapper]
 		public virtual void printerr_literal (string message);
 		public void set_exit_status (int exit_status);
diff --git a/vapi/packages/gio-2.0/gio-2.0.metadata b/vapi/packages/gio-2.0/gio-2.0.metadata
index 3f0fedf..e4ea47a 100644
--- a/vapi/packages/gio-2.0/gio-2.0.metadata
+++ b/vapi/packages/gio-2.0/gio-2.0.metadata
@@ -10,6 +10,8 @@ g_app_launch_context_get_display transfer_ownership="1"
 g_app_launch_context_get_display.files type_arguments="File"
 g_app_launch_context_get_startup_notify_id transfer_ownership="1"
 g_app_launch_context_get_startup_notify_id.files type_arguments="File"
+g_application_command_line_print ellipsis="1" printf_format="1"
+g_application_command_line_printerr ellipsis="1" printf_format="1"
 GAsyncReadyCallback.source_object nullable="1"
 g_async_initable_new_async transfer_ownership="1"
 g_async_initable_new_async.cancellable nullable="1"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]