]> spindle.queued.net Git - midori/commitdiff
Declare URI accessors in Midori.View as unowned
authorChristian Dywan <christian@twotoasts.de>
Wed, 30 Jun 2010 20:25:51 +0000 (22:25 +0200)
committerChristian Dywan <christian@twotoasts.de>
Wed, 30 Jun 2010 20:26:52 +0000 (22:26 +0200)
Wrongly declared, Vala will think it needs to free the strings.

midori/midori.vapi

index 8e04493a77f54c58386d4df431731e16a86b280c..fee05686c25a64bef0262ac5d9eb4d5b34e01456 100644 (file)
@@ -109,10 +109,10 @@ namespace Midori {
         public View (GLib.Object net);
         public void set_uri (string uri);
         public bool is_blank ();
-        public string get_display_uri ();
-        public string get_display_title ();
-        public string get_icon_uri ();
-        public string get_link_uri ();
+        public unowned string get_display_uri ();
+        public unowned string get_display_title ();
+        public unowned string get_icon_uri ();
+        public unowned string get_link_uri ();
         public bool has_selection ();
         public string get_selected_text ();
         public Gtk.MenuItem get_proxy_menu_item ();