[vala] gtk+-2.0: Fix Gtk.MessageDialog constructor binding
- From: Jaap A. Haitsma <jhaitsma src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [vala] gtk+-2.0: Fix Gtk.MessageDialog constructor binding
- Date: Sat, 5 Sep 2009 17:02:01 +0000 (UTC)
commit d5da9f0caec78874a32dde729f05d1ab7c623bd8
Author: Mark Lee <marklee src gnome org>
Date: Wed Sep 2 23:18:22 2009 -0700
gtk+-2.0: Fix Gtk.MessageDialog constructor binding
The constructor for GtkMessageDialog, gtk_message_dialog_new, takes a
printf-style format at the end of its parameter list (as opposed to ending
its varargs with a NULL sentinel).
Fixes GNOME Bug #593995.
vapi/gtk+-2.0.vapi | 1 +
vapi/packages/gtk+-2.0/gtk+-2.0.metadata | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index 2092b6b..b54d04a 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -2408,6 +2408,7 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public class MessageDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
public weak Gtk.Widget label;
+ [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, ...);
public void format_secondary_markup (string message_format, ...);
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index 7e6afb8..1b7a6be 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -235,7 +235,7 @@ GtkMenuShell.children type_arguments="MenuItem" weak="0"
GtkMenuShell::cancel has_emitter="1"
GtkMenuShell::deactivate has_emitter="1"
gtk_menu_shell_append.child type_name="MenuItem" ctype="GtkWidget*"
-gtk_message_dialog_new ellipsis="1"
+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.parent nullable="1"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]