[vala] gtk+-2.0, gtk+-3.0: Add PrintfFormat to methods of GtkMessageDialog



commit 0ef82747df0d20370b47018cd299e847cb770d83
Author: Luca Bruno <lucabru src gnome org>
Date:   Tue Jul 12 08:34:30 2011 +0200

    gtk+-2.0, gtk+-3.0: Add PrintfFormat to methods of GtkMessageDialog
    
    Based on patch by Robert Ancell.
    
    Fixes bug 654439.

 vapi/gtk+-2.0.vapi                       |    3 +++
 vapi/gtk+-3.0.vapi                       |    3 +++
 vapi/packages/gtk+-2.0/gtk+-2.0.metadata |    6 +++---
 vapi/packages/gtk+-3.0/gtk+-3.0.metadata |    6 +++---
 4 files changed, 12 insertions(+), 6 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index c974d8a..0db1400 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -2730,11 +2730,14 @@ namespace Gtk {
 		[PrintfFormat]
 		[CCode (type = "GtkWidget*", has_construct_function = false)]
 		public MessageDialog (Gtk.Window? parent, Gtk.DialogFlags flags, Gtk.MessageType type, Gtk.ButtonsType buttons, string message_format, ...);
+		[PrintfFormat]
 		public void format_secondary_markup (string message_format, ...);
+		[PrintfFormat]
 		public void format_secondary_text (string message_format, ...);
 		public unowned Gtk.Widget get_image ();
 		public void set_image (Gtk.Widget image);
 		public void set_markup (string str);
+		[PrintfFormat]
 		[CCode (type = "GtkWidget*", has_construct_function = false)]
 		public MessageDialog.with_markup (Gtk.Window? parent, Gtk.DialogFlags flags, Gtk.MessageType type, Gtk.ButtonsType buttons, string message_format, ...);
 		[NoAccessorMethod]
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index 0c94326..da62541 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -2692,12 +2692,15 @@ namespace Gtk {
 		[PrintfFormat]
 		[CCode (type = "GtkWidget*", has_construct_function = false)]
 		public MessageDialog (Gtk.Window? parent, Gtk.DialogFlags flags, Gtk.MessageType type, Gtk.ButtonsType buttons, string message_format, ...);
+		[PrintfFormat]
 		public void format_secondary_markup (string message_format, ...);
+		[PrintfFormat]
 		public void format_secondary_text (string message_format, ...);
 		public unowned Gtk.Widget get_image ();
 		public unowned Gtk.Widget get_message_area ();
 		public void set_image (Gtk.Widget image);
 		public void set_markup (string str);
+		[PrintfFormat]
 		[CCode (type = "GtkWidget*", has_construct_function = false)]
 		public MessageDialog.with_markup (Gtk.Window? parent, Gtk.DialogFlags flags, Gtk.MessageType type, Gtk.ButtonsType buttons, string message_format, ...);
 		[NoAccessorMethod]
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index 6a0999c..10a239b 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -346,10 +346,10 @@ gtk_menu_tool_button_new.label nullable="1"
 GtkMessageDialog:buttons accessor_method="0"
 gtk_message_dialog_new ellipsis="1" printf_format="1"
 gtk_message_dialog_new.parent nullable="1"
-gtk_message_dialog_new_with_markup ellipsis="1"
+gtk_message_dialog_new_with_markup ellipsis="1" printf_format="1"
 gtk_message_dialog_new_with_markup.parent nullable="1"
-gtk_message_dialog_format_secondary_markup ellipsis="1"
-gtk_message_dialog_format_secondary_text ellipsis="1"
+gtk_message_dialog_format_secondary_markup ellipsis="1" printf_format="1"
+gtk_message_dialog_format_secondary_text ellipsis="1" printf_format="1"
 gtk_mount_operation_is_showing hidden="1"
 gtk_mount_operation_new.parent nullable="1"
 GtkNotebook.focus_tab hidden="1"
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index dd0cf0c..7699fb3 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -389,10 +389,10 @@ gtk_menu_tool_button_new.label nullable="1"
 GtkMessageDialog:buttons accessor_method="0"
 gtk_message_dialog_new ellipsis="1" printf_format="1"
 gtk_message_dialog_new.parent nullable="1"
-gtk_message_dialog_new_with_markup ellipsis="1"
+gtk_message_dialog_new_with_markup ellipsis="1" printf_format="1"
 gtk_message_dialog_new_with_markup.parent nullable="1"
-gtk_message_dialog_format_secondary_markup ellipsis="1"
-gtk_message_dialog_format_secondary_text ellipsis="1"
+gtk_message_dialog_format_secondary_markup ellipsis="1" printf_format="1"
+gtk_message_dialog_format_secondary_text ellipsis="1" printf_format="1"
 gtk_mount_operation_is_showing hidden="1"
 gtk_mount_operation_new.parent nullable="1"
 GtkNotebook.focus_tab hidden="1"



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