]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gedit-2.20: transfer ownership of Gedit.Document.get_uri return value
authorRob Powell <rob@yorba.org>
Mon, 4 Oct 2010 01:59:08 +0000 (18:59 -0700)
committerJürg Billeter <j@bitron.ch>
Fri, 8 Oct 2010 21:05:05 +0000 (23:05 +0200)
Partially fixes bug 630741.

vapi/gedit-2.20.vapi
vapi/packages/gedit-2.20/gedit-2.20.metadata

index ce56a1ac5c9c97ec5947f645be5246e4f310412f..da0438bde54795379ef5d1205989ac98f8ac573d 100644 (file)
@@ -30,7 +30,7 @@ namespace Gedit {
                public bool get_readonly ();
                public unowned string get_search_text (uint flags);
                public unowned string get_short_name_for_display ();
-               public unowned string get_uri ();
+               public string get_uri ();
                public unowned string get_uri_for_display ();
                public bool goto_line (int line);
                public bool goto_line_offset (int line, int line_offset);
index 83c2b1bb19225bbbcabc979c3f2ae1dd11a4b6da..6364ae929b55b965c29f642de24a9fe510a93de7 100644 (file)
@@ -18,6 +18,7 @@ GeditDocument base_class="GtkSourceBuffer" cheader_filename="gedit/gedit-documen
 GeditDocument.buffer hidden="1"
 GeditDocumentSaveFlags cheader_filename="gedit/gedit-document.h"
 GeditSearchFlags cheader_filename="gedit/gedit-document.h"
+gedit_document_get_uri transfer_ownership="1"
 
 #Encoding
 #in realta'