[gedit] Silence most gobject-introspection scanner warnings



commit fa7fceeb57e3e583e77c09e46fa56cbbda9575e1
Author: Garrett Regier <garrettregier gmail com>
Date:   Fri May 25 05:32:48 2012 -0700

    Silence most gobject-introspection scanner warnings

 gedit/gedit-app.c                    |    2 +-
 gedit/gedit-document-input-stream.c  |    1 +
 gedit/gedit-document-output-stream.c |    1 +
 gedit/gedit-document.c               |    4 ++--
 gedit/gedit-message.c                |    2 +-
 gedit/gedit-utils.c                  |    2 +-
 6 files changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/gedit/gedit-app.c b/gedit/gedit-app.c
index 51a2bc0..b2f8d3b 100644
--- a/gedit/gedit-app.c
+++ b/gedit/gedit-app.c
@@ -937,7 +937,7 @@ is_in_viewport (GeditWindow  *window,
 }
 
 /**
- * _gedit_app_get_window_in_viewport
+ * _gedit_app_get_window_in_viewport:
  * @app: the #GeditApp
  * @screen: the #GdkScreen
  * @workspace: the workspace number
diff --git a/gedit/gedit-document-input-stream.c b/gedit/gedit-document-input-stream.c
index 2b28804..a9039ca 100644
--- a/gedit/gedit-document-input-stream.c
+++ b/gedit/gedit-document-input-stream.c
@@ -165,6 +165,7 @@ gedit_document_input_stream_class_init (GeditDocumentInputStreamClass *klass)
 							    G_PARAM_CONSTRUCT_ONLY));
 
 	/**
+	 * GeditDocumentInputStream:ensure-trailing-newline:
 	 *
 	 * The :ensure-trailing-newline property specifies whether or not to
 	 * ensure (enforce) the document ends with a trailing newline.
diff --git a/gedit/gedit-document-output-stream.c b/gedit/gedit-document-output-stream.c
index ebc8f80..fd3bf27 100644
--- a/gedit/gedit-document-output-stream.c
+++ b/gedit/gedit-document-output-stream.c
@@ -222,6 +222,7 @@ gedit_document_output_stream_class_init (GeditDocumentOutputStreamClass *klass)
 							      G_PARAM_CONSTRUCT_ONLY));
 
 	/**
+	 * GeditDocumentOutputStream:ensure-trailing-newline:
 	 *
 	 * The :ensure-trailing-newline property specifies whether or not to
 	 * ensure (enforce) the document ends with a trailing newline.
diff --git a/gedit/gedit-document.c b/gedit/gedit-document.c
index 9cec448..5057e53 100644
--- a/gedit/gedit-document.c
+++ b/gedit/gedit-document.c
@@ -1611,7 +1611,7 @@ gedit_document_load_real (GeditDocument       *doc,
  * @doc:
  * @stream:
  * @encoding: (allow-none):
- * @line_pop:
+ * @line_pos:
  * @column_pos:
  **/
 void
@@ -2086,7 +2086,7 @@ to_search_region_range (GeditDocument *doc,
 }
 
 /**
- * gedit_document_set_search_text"
+ * gedit_document_set_search_text:
  * @doc:
  * @text: (allow-none):
  * @flags:
diff --git a/gedit/gedit-message.c b/gedit/gedit-message.c
index 1086633..09e4a00 100644
--- a/gedit/gedit-message.c
+++ b/gedit/gedit-message.c
@@ -272,7 +272,7 @@ gedit_message_type_identifier (const gchar *object_path,
  *
  * Check if a message has a certain property.
  *
- * @returns: %TRUE if message has @propname, %FALSE otherwise
+ * Return Value: %TRUE if message has @propname, %FALSE otherwise
  *
  */
 gboolean
diff --git a/gedit/gedit-utils.c b/gedit/gedit-utils.c
index 6ea8b1c..bd330b3 100644
--- a/gedit/gedit-utils.c
+++ b/gedit/gedit-utils.c
@@ -635,7 +635,7 @@ gedit_utils_uri_get_dirname (const gchar *uri)
 }
 
 /**
- * gedit_utils_location_get_dirname_for_display
+ * gedit_utils_location_get_dirname_for_display:
  * @location: the location
  *
  * Returns a string suitable to be displayed in the UI indicating



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