2008-04-13 Jürg Billeter <j@bitron.ch>
+ * vapi/glib-2.0.vapi: add GDatalist bindings,
+ patch by Marc-Andre Lureau, fixes bug 527243
+
+ * vapi/packages/gtk+-2.0/: fix GtkSettings binding
+
+ * vapi/gtk+-2.0.vapi: regenerated
+
+2008-04-13 Jürg Billeter <j@bitron.ch>
+
* vala/valaparser.vala: support generic structs
2008-04-13 Jürg Billeter <j@bitron.ch>
/* Keyed Data Lists */
- public class Data {
- }
+ [CCode (cname = "GData*")]
+ public struct Datalist<G> {
+ public Datalist ();
+ public void clear ();
+ public G id_get_data (Quark key_id);
+ public void id_set_data (Quark key_id, G# data);
+ public void id_set_data_full (Quark key_id, G# data, DestroyNotify destroy_func);
+ public void id_remove_data (Quark key_id);
+ public G id_remove_no_notify (Quark key_id);
+ public void @foreach (DataForeachFunc func);
+ public G get_data (string key);
+ public void set_data_full (string key, G# data, DestroyNotify destry_func);
+ public G remove_no_notify (string key);
+ public void set_data (string key, G# data);
+ public void remove_data (string key);
+ }
+
+ public delegate void DataForeachFunc<G> (Quark key_id, G data);
/* GArray */
}
[CCode (cheader_filename = "gtk/gtk.h")]
public class Settings : GLib.Object {
- public weak GLib.Data queued_settings;
public weak Gtk.SettingsPropertyValue property_values;
public weak Gtk.RcContext rc_context;
public weak Gdk.Screen screen;
gtk_scale_draw_value hidden="1"
gtk_selection_add_targets.targets is_array="1"
gtk_selection_data_set.length hidden="1"
+GtkSettings.queued_settings hidden="1"
gtk_show_about_dialog ellipsis="1"
gtk_spin_button_get_range.min is_out="1"
gtk_spin_button_get_range.max is_out="1"