[vala] gtk+-2.0, gtk+-3.0: fix FileChooserButton.with_dialog argument type



commit 2b7b00c2304d36f604dcb293a2a2156d7b0a39c8
Author: Evan Nemerson <evan coeus-group com>
Date:   Fri Oct 19 11:44:33 2012 -0700

    gtk+-2.0, gtk+-3.0: fix FileChooserButton.with_dialog argument type

 vapi/gtk+-2.0.vapi                       |    2 +-
 vapi/gtk+-3.0.vapi                       |    2 +-
 vapi/packages/gtk+-2.0/gtk+-2.0.metadata |    1 +
 vapi/packages/gtk+-3.0/gtk+-3.0.metadata |    1 +
 4 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index 6bfd676..3eaa81c 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -1716,7 +1716,7 @@ namespace Gtk {
 		public void set_title (string title);
 		public void set_width_chars (int n_chars);
 		[CCode (has_construct_function = false, type = "GtkWidget*")]
-		public FileChooserButton.with_dialog (Gtk.Widget dialog);
+		public FileChooserButton.with_dialog (Gtk.Dialog dialog);
 		public Gtk.FileChooser dialog { construct; }
 		public bool focus_on_click { get; set; }
 		public string title { get; set; }
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index bab742f..9b35a52 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -1914,7 +1914,7 @@ namespace Gtk {
 		public void set_title (string title);
 		public void set_width_chars (int n_chars);
 		[CCode (has_construct_function = false, type = "GtkWidget*")]
-		public FileChooserButton.with_dialog (Gtk.Widget dialog);
+		public FileChooserButton.with_dialog (Gtk.Dialog dialog);
 		public Gtk.FileChooser dialog { construct; }
 		public bool focus_on_click { get; set; }
 		public string title { get; set; }
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index 1e87212..50d1ca6 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -211,6 +211,7 @@ gtk_file_chooser_get_preview_filename transfer_ownership="1"
 gtk_file_chooser_get_preview_uri transfer_ownership="1"
 gtk_file_chooser_get_uri transfer_ownership="1"
 gtk_file_chooser_get_uris transfer_ownership="1" type_arguments="string"
+gtk_file_chooser_button_new_with_dialog.dialog type_name="Dialog"
 gtk_file_chooser_dialog_new.title nullable="1"
 gtk_file_chooser_dialog_new.parent nullable="1"
 gtk_file_chooser_dialog_new_with_backend.title nullable="1"
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index 02150f8..53ff29e 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -282,6 +282,7 @@ gtk_file_chooser_get_preview_filename transfer_ownership="1"
 gtk_file_chooser_get_preview_uri transfer_ownership="1"
 gtk_file_chooser_get_uri transfer_ownership="1"
 gtk_file_chooser_get_uris transfer_ownership="1" type_arguments="string"
+gtk_file_chooser_button_new_with_dialog.dialog type_name="Dialog"
 gtk_file_chooser_dialog_new.title nullable="1"
 gtk_file_chooser_dialog_new.parent nullable="1"
 gtk_file_chooser_dialog_new_with_backend.title nullable="1"



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