[vala/0.10] gedit-2.20: transfer ownership of Gedit.Document.get_uri return value
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.10] gedit-2.20: transfer ownership of Gedit.Document.get_uri return value
- Date: Fri, 8 Oct 2010 21:17:46 +0000 (UTC)
commit 12a520787b9a893167ef9b1d20aa455167102de9
Author: Rob Powell <rob yorba org>
Date: Sun Oct 3 18:59:08 2010 -0700
gedit-2.20: transfer ownership of Gedit.Document.get_uri return value
Partially fixes bug 630741.
vapi/gedit-2.20.vapi | 2 +-
vapi/packages/gedit-2.20/gedit-2.20.metadata | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/vapi/gedit-2.20.vapi b/vapi/gedit-2.20.vapi
index ce56a1a..da0438b 100644
--- a/vapi/gedit-2.20.vapi
+++ b/vapi/gedit-2.20.vapi
@@ -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);
diff --git a/vapi/packages/gedit-2.20/gedit-2.20.metadata b/vapi/packages/gedit-2.20/gedit-2.20.metadata
index 83c2b1b..6364ae9 100644
--- a/vapi/packages/gedit-2.20/gedit-2.20.metadata
+++ b/vapi/packages/gedit-2.20/gedit-2.20.metadata
@@ -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'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]