[gedit] Fix introspection for loading tab with NULL encoding



commit 0685d85b40f83bcc969adece98cfa92510d07388
Author: Garrett Regier <alias301 gmail com>
Date:   Sun Mar 20 07:08:56 2011 -0700

    Fix introspection for loading tab with NULL encoding

 gedit/gedit-window.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gedit/gedit-window.c b/gedit/gedit-window.c
index f1be872..ac64595 100644
--- a/gedit/gedit-window.c
+++ b/gedit/gedit-window.c
@@ -4403,7 +4403,7 @@ gedit_window_create_tab (GeditWindow *window,
  * gedit_window_create_tab_from_location:
  * @window: a #GeditWindow
  * @location: the location of the document
- * @encoding: a #GeditEncoding
+ * @encoding: (allow-none): a #GeditEncoding, or %NULL
  * @line_pos: the line position to visualize
  * @column_pos: the column position to visualize
  * @create: %TRUE to create a new document in case @uri does exist
@@ -4445,7 +4445,7 @@ gedit_window_create_tab_from_location (GeditWindow         *window,
  * gedit_window_create_tab_from_stream:
  * @window: a #GeditWindow
  * @stream: a #GInputStream
- * @encoding: a #GeditEncoding
+ * @encoding: (allow-none): a #GeditEncoding, or %NULL
  * @line_pos: the line position to visualize
  * @column_pos: the column position to visualize
  * @jump_to: %TRUE to set the new #GeditTab as active



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