From: Christian Dywan Date: Wed, 30 Jun 2010 20:25:51 +0000 (+0200) Subject: Declare URI accessors in Midori.View as unowned X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28aa06366cc1aace498a5d769b3125541855487d;p=midori Declare URI accessors in Midori.View as unowned Wrongly declared, Vala will think it needs to free the strings. --- diff --git a/midori/midori.vapi b/midori/midori.vapi index 8e04493a..fee05686 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 ();