2008-04-13 Jürg Billeter <j@bitron.ch>
+ * vapigen/valagidlparser.vala: support type_name metadata attribute
+ for method parameters
+
+ * vapi/packages/gtk+-2.0/: fix gtk_action_group_add_radio_actions
+ binding, fixes bug 526871
+
+ * vapi/gtk+-2.0.vapi: regenerated
+
+2008-04-13 Jürg Billeter <j@bitron.ch>
+
* vala/valaparser.vala: allow object creation expressions in
expression statements
public void add_action_with_accel (Gtk.Action action, string accelerator);
public void add_actions (Gtk.ActionEntry[] entries, pointer user_data);
public void add_actions_full (Gtk.ActionEntry[] entries, pointer user_data, GLib.DestroyNotify destroy);
- public void add_radio_actions (Gtk.RadioActionEntry[] entries, int value, GLib.Callback on_change, pointer user_data);
- public void add_radio_actions_full (Gtk.RadioActionEntry[] entries, int value, GLib.Callback on_change, pointer 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_toggle_actions (Gtk.ToggleActionEntry[] entries, pointer user_data);
public void add_toggle_actions_full (Gtk.ToggleActionEntry[] entries, pointer user_data, GLib.DestroyNotify destroy);
public weak string get_name ();
[CCode (cheader_filename = "gtk/gtk.h")]
public delegate void ActionCallback (Gtk.Action action);
[CCode (cheader_filename = "gtk/gtk.h")]
+ public delegate void RadioActionCallback (Gtk.Action action, Gtk.Action current);
+ [CCode (cheader_filename = "gtk/gtk.h")]
public delegate void AboutDialogActivateLinkFunc (Gtk.AboutDialog about, string link_);
[CCode (cheader_filename = "gtk/gtk.h")]
public static delegate bool AccelGroupActivate (Gtk.AccelGroup accel_group, GLib.Object acceleratable, uint keyval, Gdk.ModifierType modifier);
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_radio_actions.user_data hidden="0"
-gtk_action_group_add_radio_actions_full.user_data hidden="0"
+gtk_action_group_add_radio_actions.on_change type_name="RadioActionCallback"
+gtk_action_group_add_radio_actions_full.on_change type_name="RadioActionCallback"
GtkAdjustment::changed has_emitter="1"
GtkAdjustment::value_changed has_emitter="1"
GtkAllocation is_value_type="1"