+2009-01-07 Étienne BERSAC <bersace03@laposte.net>
+
+ * vapi/gtk+-2.0.vapi:
+
+ Use struct instead of compact class for GtkStockItem.
+
+ Added binding for gtk_stock_lookup().
+
2009-01-07 Jürg Billeter <j@bitron.ch>
* vala/valaclass.vala:
public virtual signal void text_popped (uint context_id, string text);
public virtual signal void text_pushed (uint context_id, string text);
}
- [Compact]
[CCode (copy_function = "gtk_stock_item_copy", cheader_filename = "gtk/gtk.h")]
- public class StockItem {
+ public struct StockItem {
+ [CCode (cname = "gtk_stock_lookup")]
+ public static bool lookup(string stock_id, StockItem item);
public uint keyval;
public weak string label;
public Gdk.ModifierType modifier;