[Xfce4-commits] <midori:master> Declare URI accessors in Midori.View as unowned

Christian Dywan noreply at xfce.org
Wed Jun 30 22:34:01 CEST 2010


Updating branch refs/heads/master
         to 28aa06366cc1aace498a5d769b3125541855487d (commit)
       from 01f568b8ab7a7d4e8734ca004d113fd1b3fea627 (commit)

commit 28aa06366cc1aace498a5d769b3125541855487d
Author: Christian Dywan <christian at twotoasts.de>
Date:   Wed Jun 30 22:25:51 2010 +0200

    Declare URI accessors in Midori.View as unowned
    
    Wrongly declared, Vala will think it needs to free the strings.

 midori/midori.vapi |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/midori/midori.vapi b/midori/midori.vapi
index 8e04493..fee0568 100644
--- a/midori/midori.vapi
+++ b/midori/midori.vapi
@@ -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 ();



More information about the Xfce4-commits mailing list