[gtksourceview/wip/regex-search] Doc: some fixes
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/wip/regex-search] Doc: some fixes
- Date: Wed, 31 Jul 2013 11:31:20 +0000 (UTC)
commit aa20cc637082f14c77f3be15325a32b181645fba
Author: Sébastien Wilmet <swilmet gnome org>
Date: Wed Jul 31 13:27:42 2013 +0200
Doc: some fixes
gtksourceview/gtksourcesearchcontext.c | 2 +-
gtksourceview/gtksourceutils.c | 10 +++++-----
2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/gtksourceview/gtksourcesearchcontext.c b/gtksourceview/gtksourcesearchcontext.c
index 8e05cbf..1babd6f 100644
--- a/gtksourceview/gtksourcesearchcontext.c
+++ b/gtksourceview/gtksourcesearchcontext.c
@@ -2770,7 +2770,7 @@ gtk_source_search_context_set_settings (GtkSourceSearchContext *search,
* @search: a #GtkSourceSearchContext.
*
* Regular expression patterns must follow certain rules. If
- * #GtkSourceSearchContext:search-text breaks a rule, the error can be retrieved
+ * #GtkSourceSearchSettings:search-text breaks a rule, the error can be retrieved
* with this function. The error domain is #G_REGEX_ERROR.
*
* Free the return value with g_error_free().
diff --git a/gtksourceview/gtksourceutils.c b/gtksourceview/gtksourceutils.c
index 4023ef3..9778196 100644
--- a/gtksourceview/gtksourceutils.c
+++ b/gtksourceview/gtksourceutils.c
@@ -35,9 +35,9 @@
* gtk_source_utils_unescape_search_text:
* @text: the text to unescape.
*
- * Use this function before gtk_source_buffer_set_search_text(), to unescape
- * certain sequences of characters: \n, \r, \t and \\. The purpose is to easily
- * write those characters in a search entry.
+ * Use this function before gtk_source_search_settings_set_search_text(), to
+ * unescape certain sequences of characters: \n, \r, \t and \\. The purpose is
+ * to easily write those characters in a search entry.
*
* See also: gtk_source_utils_escape_search_text().
*
@@ -124,8 +124,8 @@ gtk_source_utils_unescape_search_text (const gchar *text)
* gtk_source_utils_escape_search_text:
* @text: the text to escape.
*
- * Use this function after gtk_source_buffer_get_search_text(), to escape
- * certain characters: \n, \r, \t and \.
+ * Use this function after gtk_source_search_settings_get_search_text(), to
+ * escape certain characters: \n, \r, \t and \.
*
* See also: gtk_source_utils_unescape_search_text().
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]