Commit 2b7b00c2 authored by Evan Nemerson's avatar Evan Nemerson
Browse files

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

parent ccc4137c
......@@ -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; }
......
......@@ -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; }
......
......@@ -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"
......
......@@ -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"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment