From 8e3d770e09a1c6df0c08a3e450dda1299d02e5ac Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20St=C3=B6sel?= Date: Thu, 7 Jun 2012 23:13:54 +0200 Subject: [PATCH] Add basic KatzeItem and meta data accessors to katze.vapi --- katze/katze.vapi | 6 ++++++ midori/midori.vapi | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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); -- 2.39.5