Declare URI accessors in Midori.View as unowned

Wrongly declared, Vala will think it needs to free the strings.
This commit is contained in:
Christian Dywan 2010-06-30 22:25:51 +02:00
parent 01f568b8ab
commit 28aa06366c

View file

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