]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
more binding fixes
authorJuerg Billeter <j@bitron.ch>
Mon, 21 Apr 2008 21:43:47 +0000 (21:43 +0000)
committerJürg Billeter <juergbi@src.gnome.org>
Mon, 21 Apr 2008 21:43:47 +0000 (21:43 +0000)
2008-04-21  Juerg Billeter  <j@bitron.ch>

* vapi/packages/gtk+-2.0/: more binding fixes

* vapi/gtk+-2.0.vapi: regenerated

svn path=/trunk/; revision=1300

ChangeLog
vapi/gtk+-2.0.vapi
vapi/packages/gtk+-2.0/gtk+-2.0.metadata

index aaf1135a3a767e448f8030626a8c5622bb14b9a8..04f7fb33463ab3489f987b82836409ba59e36759 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-04-21  Jürg Billeter  <j@bitron.ch>
+
+       * vapi/packages/gtk+-2.0/: more binding fixes
+
+       * vapi/gtk+-2.0.vapi: regenerated
+
 2008-04-21  Jürg Billeter  <j@bitron.ch>
 
        * vapi/enchant.vapi:
index 59749808acbb972ef98a3cfcf663fc733150d588..88ad20121538b6af21c267cdb232270f05e56271 100644 (file)
@@ -1776,7 +1776,7 @@ namespace Gtk {
                public bool get_visible ();
                public bool is_sensitive ();
                public bool is_visible ();
-               public Action (string name, string label, string tooltip, string stock_id);
+               public Action (string name, string? label, string? tooltip, string? stock_id);
                public void set_accel_group (Gtk.AccelGroup accel_group);
                public void set_accel_path (string accel_path);
                public void set_sensitive (bool sensitive);
@@ -1819,13 +1819,13 @@ namespace Gtk {
        [CCode (cheader_filename = "gtk/gtk.h")]
        public class ActionGroup : GLib.Object, Gtk.Buildable {
                public void add_action (Gtk.Action action);
-               public void add_action_with_accel (Gtk.Action action, string accelerator);
+               public void add_action_with_accel (Gtk.Action action, string? accelerator);
                public void add_actions (Gtk.ActionEntry[] entries, void* user_data);
-               public void add_actions_full (Gtk.ActionEntry[] entries, void* user_data, GLib.DestroyNotify destroy);
+               public void add_actions_full (Gtk.ActionEntry[] entries, void* user_data, GLib.DestroyNotify? destroy);
                public void add_radio_actions (Gtk.RadioActionEntry[] entries, int value, Gtk.RadioActionCallback on_change);
-               public void add_radio_actions_full (Gtk.RadioActionEntry[] entries, int value, Gtk.RadioActionCallback on_change, GLib.DestroyNotify destroy);
+               public void add_radio_actions_full (Gtk.RadioActionEntry[] entries, int value, Gtk.RadioActionCallback on_change, GLib.DestroyNotify? destroy);
                public void add_toggle_actions (Gtk.ToggleActionEntry[] entries, void* user_data);
-               public void add_toggle_actions_full (Gtk.ToggleActionEntry[] entries, void* user_data, GLib.DestroyNotify destroy);
+               public void add_toggle_actions_full (Gtk.ToggleActionEntry[] entries, void* user_data, GLib.DestroyNotify? destroy);
                public weak string get_name ();
                public bool get_sensitive ();
                public bool get_visible ();
@@ -3617,7 +3617,7 @@ namespace Gtk {
                public uint has_before_next;
                public uint has_after_previous;
                public uint has_after_next;
-               public int append_page (Gtk.Widget child, Gtk.Widget tab_label);
+               public int append_page (Gtk.Widget child, Gtk.Widget? tab_label);
                public int append_page_menu (Gtk.Widget child, Gtk.Widget tab_label, Gtk.Widget menu_label);
                public int get_current_page ();
                public void* get_group ();
@@ -3965,7 +3965,7 @@ namespace Gtk {
        public class RadioAction : Gtk.ToggleAction, Gtk.Buildable {
                public int get_current_value ();
                public weak GLib.SList get_group ();
-               public RadioAction (string name, string label, string tooltip, string stock_id, int value);
+               public RadioAction (string name, string? label, string? tooltip, string? stock_id, int value);
                public void set_current_value (int current_value);
                public void set_group (GLib.SList group);
                public weak int current_value { get; set; }
@@ -4700,7 +4700,7 @@ namespace Gtk {
                public bool backspace (Gtk.TextIter iter, bool interactive, bool default_editable);
                public void copy_clipboard (Gtk.Clipboard clipboard);
                public weak Gtk.TextChildAnchor create_child_anchor (Gtk.TextIter iter);
-               public weak Gtk.TextMark create_mark (string mark_name, Gtk.TextIter where, bool left_gravity);
+               public weak Gtk.TextMark create_mark (string? mark_name, Gtk.TextIter where, bool left_gravity);
                public weak Gtk.TextTag create_tag (string tag_name, ...);
                public void cut_clipboard (Gtk.Clipboard clipboard, bool default_editable);
                public void @delete (Gtk.TextIter start, Gtk.TextIter end);
@@ -5103,7 +5103,7 @@ namespace Gtk {
        public class ToggleAction : Gtk.Action, Gtk.Buildable {
                public bool get_active ();
                public bool get_draw_as_radio ();
-               public ToggleAction (string name, string label, string tooltip, string stock_id);
+               public ToggleAction (string name, string? label, string? tooltip, string? stock_id);
                public void set_active (bool is_active);
                public void set_draw_as_radio (bool draw_as_radio);
                public weak bool active { get; set; }
index 934606c3748eb65e4fc43e7e1cae5799d08dc351..eb8461a1ef1fe1476ebbf71f0d39042a1b9ad89b 100644 (file)
@@ -13,15 +13,22 @@ gtk_about_dialog_set_url_hook.destroy nullable="1"
 gtk_about_dialog_set_url_hook type_name="void"
 gtk_accelerator_parse.accelerator_key is_out="1"
 gtk_accelerator_parse.accelerator_mods is_out="1"
+gtk_action_new.label nullable="1"
+gtk_action_new.tooltip nullable="1"
+gtk_action_new.stock_id nullable="1"
 GtkAction::activate has_emitter="1"
 GtkActionEntry is_value_type="1"
 GtkActionEntry.callback type_name="ActionCallback"
+gtk_action_group_add_action_with_accel.accelerator nullable="1"
 gtk_action_group_add_actions.user_data hidden="0"
 gtk_action_group_add_actions_full.user_data hidden="0"
-gtk_action_group_add_toggle_actions.user_data hidden="0"
-gtk_action_group_add_toggle_actions_full.user_data hidden="0"
+gtk_action_group_add_actions_full.destroy nullable="1"
 gtk_action_group_add_radio_actions.on_change type_name="RadioActionCallback"
 gtk_action_group_add_radio_actions_full.on_change type_name="RadioActionCallback"
+gtk_action_group_add_radio_actions_full.destroy nullable="1"
+gtk_action_group_add_toggle_actions.user_data hidden="0"
+gtk_action_group_add_toggle_actions_full.user_data hidden="0"
+gtk_action_group_add_toggle_actions_full.destroy nullable="1"
 GtkAdjustment::changed has_emitter="1"
 GtkAdjustment::value_changed has_emitter="1"
 GtkAllocation is_value_type="1"
@@ -128,6 +135,7 @@ GtkMenuShell::deactivate has_emitter="1"
 gtk_message_dialog_new.parent nullable="1"
 gtk_message_dialog_new_with_markup.parent nullable="1"
 GtkNotebook.focus_tab hidden="1"
+gtk_notebook_append_page.tab_label nullable="1"
 GtkObject::destroy has_emitter="1"
 gtk_parse_args.argv is_array="1"
 GtkPlug::embedded hidden="1"
@@ -138,6 +146,9 @@ GtkProgress hidden="1"
 GtkProgressBar base_class="GtkWidget"
 GtkProgressClass hidden="1"
 gtk_quit_add_full hidden="1"
+gtk_radio_action_new.label nullable="1"
+gtk_radio_action_new.tooltip nullable="1"
+gtk_radio_action_new.stock_id nullable="1"
 GtkRadioActionEntry is_value_type="1"
 GtkRecentData is_value_type="1"
 GtkRecentData.display_name weak="0"
@@ -187,6 +198,7 @@ GtkTextBuffer::end_user_action has_emitter="1"
 GtkTextBuffer::insert_child_anchor has_emitter="1"
 GtkTextBuffer::insert_pixbuf has_emitter="1"
 GtkTextBuffer::remove_tag has_emitter="1"
+gtk_text_buffer_create_mark.mark_name nullable="1"
 gtk_text_buffer_get_bounds.start is_out="1"
 gtk_text_buffer_get_bounds.end is_out="1"
 gtk_text_buffer_get_end_iter.iter is_out="1"
@@ -210,6 +222,9 @@ gtk_text_view_get_iter_location.location is_out="1"
 gtk_text_view_get_visible_rect.visible_rect is_out="1"
 GtkTipsQuery::start_query has_emitter="1"
 GtkTipsQuery::stop_query has_emitter="1"
+gtk_toggle_action_new.label nullable="1"
+gtk_toggle_action_new.tooltip nullable="1"
+gtk_toggle_action_new.stock_id nullable="1"
 GtkToggleAction::toggled has_emitter="1"
 GtkToggleActionEntry is_value_type="1"
 GtkToggleActionEntry.callback type_name="ActionCallback"