From 28aa06366cc1aace498a5d769b3125541855487d Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Wed, 30 Jun 2010 22:25:51 +0200 Subject: [PATCH] Declare URI accessors in Midori.View as unowned Wrongly declared, Vala will think it needs to free the strings. --- midori/midori.vapi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 (); -- 2.39.5