[gtksourceview/wip/search] set_search_text(): the string must be nul-terminated



commit 620db58c7ccfeebc97e0202caf11c364be1d6446
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Sat Jul 6 20:15:58 2013 +0200

    set_search_text(): the string must be nul-terminated

 gtksourceview/gtksourcebuffer.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtksourceview/gtksourcebuffer.c b/gtksourceview/gtksourcebuffer.c
index 19630a3..f37aa7b 100644
--- a/gtksourceview/gtksourcebuffer.c
+++ b/gtksourceview/gtksourcebuffer.c
@@ -2619,7 +2619,7 @@ gtk_source_buffer_get_undo_manager (GtkSourceBuffer *buffer)
 /**
  * gtk_source_buffer_set_search_text:
  * @buffer: a #GtkSourceBuffer.
- * @text: the text to search, or %NULL to disable the search.
+ * @text: the nul-terminated text to search, or %NULL to disable the search.
  *
  * Sets the text to search. If @text is %NULL or is empty, the search will be
  * disabled. A copy of @text will be made, so you can safely free @text after



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