From: André Stösel Date: Thu, 7 Jun 2012 21:13:54 +0000 (+0200) Subject: Add basic KatzeItem and meta data accessors to katze.vapi X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e3d770e09a1c6df0c08a3e450dda1299d02e5ac;p=midori Add basic KatzeItem and meta data accessors to katze.vapi --- diff --git a/katze/katze.vapi b/katze/katze.vapi index 6ba5cfa2..a152a6c8 100644 --- a/katze/katze.vapi +++ b/katze/katze.vapi @@ -7,5 +7,11 @@ namespace Katze { public Array (GLib.Type type); public void add_item (GLib.Object item); } + + public class Item : GLib.Object { + public bool get_meta_boolean (string key); + public int64 get_meta_integer (string key); + public void set_meta_integer (string key, int64 value); + } } diff --git a/midori/midori.vapi b/midori/midori.vapi index 310982d5..d30cd77c 100644 --- a/midori/midori.vapi +++ b/midori/midori.vapi @@ -142,7 +142,7 @@ namespace Midori { public Gtk.Menu get_tab_menu (); public Pango.EllipsizeMode get_label_ellipsize (); public Gtk.Label get_proxy_tab_label (); - public GLib.Object get_proxy_item (); + public Katze.Item get_proxy_item (); public bool can_view_source (); public bool can_find (); public void search_text (string text, bool case_sensitive, bool forward);