[gtksourceview] Documentation: fix some warnings
- From: SÃbastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] Documentation: fix some warnings
- Date: Sun, 25 Nov 2012 15:08:51 +0000 (UTC)
commit 10ffb88eb89bf42f06693207aaac50df6c6df14b
Author: SÃbastien Wilmet <swilmet gnome org>
Date: Sat Nov 24 22:38:57 2012 +0100
Documentation: fix some warnings
docs/reference/gtksourceview-3.0-sections.txt | 1 +
gtksourceview/gtksourcebuffer.c | 4 +---
gtksourceview/gtksourcecompletionprovider.c | 2 +-
gtksourceview/gtksourcemark.c | 4 ++--
gtksourceview/gtksourcemarkattributes.c | 4 ++--
gtksourceview/gtksourceprintcompositor.c | 8 ++++----
gtksourceview/gtksourceview.c | 2 +-
7 files changed, 12 insertions(+), 13 deletions(-)
---
diff --git a/docs/reference/gtksourceview-3.0-sections.txt b/docs/reference/gtksourceview-3.0-sections.txt
index 35ed1e2..dfdc910 100644
--- a/docs/reference/gtksourceview-3.0-sections.txt
+++ b/docs/reference/gtksourceview-3.0-sections.txt
@@ -3,6 +3,7 @@
<TITLE>GtkSourceBuffer</TITLE>
<INCLUDE>gtksourceview/gtksourcebuffer.h</INCLUDE>
GtkSourceBuffer
+GtkSourceBracketMatchType
gtk_source_buffer_new
gtk_source_buffer_new_with_language
gtk_source_buffer_set_highlight_syntax
diff --git a/gtksourceview/gtksourcebuffer.c b/gtksourceview/gtksourcebuffer.c
index af23e56..45c95b9 100644
--- a/gtksourceview/gtksourcebuffer.c
+++ b/gtksourceview/gtksourcebuffer.c
@@ -1359,9 +1359,7 @@ gtk_source_buffer_get_highlight_matching_brackets (GtkSourceBuffer *buffer)
* Controls the bracket match highlighting function in the buffer. If
* activated, when you position your cursor over a bracket character
* (a parenthesis, a square bracket, etc.) the matching opening or
- * closing bracket character will be highlighted. You can specify the
- * style with the gtk_source_buffer_set_bracket_match_style()
- * function.
+ * closing bracket character will be highlighted.
**/
void
gtk_source_buffer_set_highlight_matching_brackets (GtkSourceBuffer *buffer,
diff --git a/gtksourceview/gtksourcecompletionprovider.c b/gtksourceview/gtksourcecompletionprovider.c
index 16b3317..deaa126 100644
--- a/gtksourceview/gtksourcecompletionprovider.c
+++ b/gtksourceview/gtksourcecompletionprovider.c
@@ -348,7 +348,7 @@ gtk_source_completion_provider_activate_proposal (GtkSourceCompletionProvider *p
*
* Get the delay in milliseconds before starting interactive completion for
* this provider. A value of -1 indicates to use the default value as set
- * by #GtkSourceCompletion::auto-complete-delay.
+ * by the #GtkSourceCompletion:auto-complete-delay property.
*
* Returns: the interactive delay in milliseconds.
**/
diff --git a/gtksourceview/gtksourcemark.c b/gtksourceview/gtksourcemark.c
index 4fb19b0..b02f162 100644
--- a/gtksourceview/gtksourcemark.c
+++ b/gtksourceview/gtksourcemark.c
@@ -38,7 +38,7 @@
* associated using #gtk_source_view_set_mark_category_pixbuf and
* #gtk_source_view_set_mark_category_priority. The pixbuf will be displayed in
* the margin at the line where the mark residents if the
- * #GtkSourceView::show-line-marks property is set to TRUE. If there are
+ * #GtkSourceView:show-line-marks property is set to %TRUE. If there are
* multiple marks in the same line, the pixbufs will be drawn on top of each
* other. The mark with the highest priority will be drawn on top.
*/
@@ -164,7 +164,7 @@ gtk_source_mark_init (GtkSourceMark *mark)
* If name is NULL, the mark is anonymous; otherwise, the mark can be retrieved
* by name using gtk_text_buffer_get_mark().
* Normally marks are created using the utility function
- * gtk_source_buffer_create_mark().
+ * gtk_source_buffer_create_source_mark().
*
* Returns: a new #GtkSourceMark that can be added using gtk_text_buffer_add_mark().
*
diff --git a/gtksourceview/gtksourcemarkattributes.c b/gtksourceview/gtksourcemarkattributes.c
index cbd3e2a..d5eb2bd 100644
--- a/gtksourceview/gtksourcemarkattributes.c
+++ b/gtksourceview/gtksourcemarkattributes.c
@@ -32,8 +32,8 @@
* @title: GtkSourceMarkAttributes
* @see_also: #GtkSourceMark
*
- * #GtkSourceMarkAttribute<!-- -->s is an object specifying attributes used by
- * a GtkSourceView to visually show lines marked with #GtkSourceMark<!-- -->s
+ * #GtkSourceMarkAttributes is an object specifying attributes used by
+ * a #GtkSourceView to visually show lines marked with #GtkSourceMark<!-- -->s
* of a specific category. It allows you to define a background color of a line,
* an icon shown in gutter and tooltips.
*
diff --git a/gtksourceview/gtksourceprintcompositor.c b/gtksourceview/gtksourceprintcompositor.c
index f7e648d..114f417 100644
--- a/gtksourceview/gtksourceprintcompositor.c
+++ b/gtksourceview/gtksourceprintcompositor.c
@@ -1140,8 +1140,8 @@ gtk_source_print_compositor_get_print_footer (GtkSourcePrintCompositor *composit
* Sets strftime like header format strings, to be printed on the
* left, center and right of the top of each page. The strings may
* include strftime(3) codes which will be expanded at print time.
- * All strftime() codes are accepted, with the addition of %N for the
- * page number and %Q for the page count.
+ * All strftime() codes are accepted, with the addition of #N for the
+ * page number and #Q for the page count.
*
* @separator specifies if a solid line should be drawn to separate
* the header from the document text.
@@ -1191,8 +1191,8 @@ gtk_source_print_compositor_set_header_format (GtkSourcePrintCompositor *composi
* Sets strftime like header format strings, to be printed on the
* left, center and right of the bottom of each page. The strings may
* include strftime(3) codes which will be expanded at print time.
- * All strftime() codes are accepted, with the addition of %N for the
- * page number and %Q for the page count.
+ * All strftime() codes are accepted, with the addition of #N for the
+ * page number and #Q for the page count.
*
* @separator specifies if a solid line should be drawn to separate
* the footer from the document text.
diff --git a/gtksourceview/gtksourceview.c b/gtksourceview/gtksourceview.c
index 53c5fd6..22882ae 100644
--- a/gtksourceview/gtksourceview.c
+++ b/gtksourceview/gtksourceview.c
@@ -3830,7 +3830,7 @@ gtk_source_view_set_smart_home_end (GtkSourceView *view,
* Returns a #GtkSourceSmartHomeEndType end value specifying
* how the cursor will move when HOME and END keys are pressed.
*
- * Return value: a #GtkSourceSmartHomeEndTypeend value.
+ * Return value: a #GtkSourceSmartHomeEndType value.
**/
GtkSourceSmartHomeEndType
gtk_source_view_get_smart_home_end (GtkSourceView *view)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]