[vala] gedit-2.20: Make Window.create_tab_from_uri.encoding nullable.



commit 53dafd3719c30ed73ff64234fbc3d37f249661fc
Author: Evan Nemerson <evan coeus-group com>
Date:   Wed Aug 11 22:57:52 2010 -0700

    gedit-2.20: Make Window.create_tab_from_uri.encoding nullable.
    
    Fixes bug 626458.

 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 9e110ec..ce56a1a 100644
--- a/vapi/gedit-2.20.vapi
+++ b/vapi/gedit-2.20.vapi
@@ -231,7 +231,7 @@ namespace Gedit {
 		public void close_tab (Gedit.Tab tab);
 		public void close_tabs (GLib.List<Gedit.Tab> tabs);
 		public unowned Gedit.Tab create_tab (bool jump_to);
-		public unowned Gedit.Tab create_tab_from_uri (string uri, Gedit.Encoding encoding, int line_pos, bool create, bool jump_to);
+		public unowned Gedit.Tab create_tab_from_uri (string uri, Gedit.Encoding? encoding, int line_pos, bool create, bool jump_to);
 		public unowned Gedit.Document get_active_document ();
 		public unowned Gedit.Tab get_active_tab ();
 		public unowned Gedit.View get_active_view ();
diff --git a/vapi/packages/gedit-2.20/gedit-2.20.metadata b/vapi/packages/gedit-2.20/gedit-2.20.metadata
index 05ca75d..83c2b1b 100644
--- a/vapi/packages/gedit-2.20/gedit-2.20.metadata
+++ b/vapi/packages/gedit-2.20/gedit-2.20.metadata
@@ -62,6 +62,7 @@ GeditView.view hidden="1"
 #Window
 GeditWindow base_class="GtkWindow" cheader_filename="gedit/gedit-window.h"
 GeditWindow.window hidden="1"
+gedit_window_create_tab_from_uri.encoding nullable="1"
 gedit_window_get_documents type_arguments="Document"
 gedit_window_close_tabs.tabs type_arguments="Tab"
 gedit_window_get_unsaved_documents type_arguments="Document"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]