[gtksourceview] test-search: comment about not using GtkSourceFile
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] test-search: comment about not using GtkSourceFile
- Date: Tue, 9 Sep 2014 21:27:31 +0000 (UTC)
commit 480ffdff56285cce08d04b854dc051e3c77451e2
Author: Sébastien Wilmet <swilmet gnome org>
Date: Tue Sep 9 20:54:55 2014 +0200
test-search: comment about not using GtkSourceFile
tests/test-search.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/tests/test-search.c b/tests/test-search.c
index d1f5b4a..c3914ff 100644
--- a/tests/test-search.c
+++ b/tests/test-search.c
@@ -71,6 +71,7 @@ open_file (TestSearch *search,
GtkSourceLanguage *language;
GtkTextIter iter;
+ /* In a realistic application you would use GtkSourceFile of course. */
if (!g_file_get_contents (filename, &contents, NULL, &error))
{
g_error ("Impossible to load file: %s", error->message);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]