[gnome-builder/wip/libide] libide: use global back-forward-list in test app
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/libide] libide: use global back-forward-list in test app
- Date: Fri, 13 Mar 2015 08:00:38 +0000 (UTC)
commit dbd7aac287d429c55ac143005df17eb67521dc73
Author: Christian Hergert <christian hergert me>
Date: Fri Mar 13 00:59:35 2015 -0700
libide: use global back-forward-list in test app
tests/test-ide-source-view.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/tests/test-ide-source-view.c b/tests/test-ide-source-view.c
index 66867d8..3031abe 100644
--- a/tests/test-ide-source-view.c
+++ b/tests/test-ide-source-view.c
@@ -141,6 +141,9 @@ static void
add_buffer (IdeBuffer *buffer)
{
IdeSourceView *view;
+ IdeBackForwardList *bflist;
+
+ bflist = ide_context_get_back_forward_list (gContext);
view = g_hash_table_lookup (gBufferToView, buffer);
@@ -153,6 +156,7 @@ add_buffer (IdeBuffer *buffer)
NULL);
view = g_object_new (IDE_TYPE_SOURCE_VIEW,
"auto-indent", TRUE,
+ "back-forward-list", bflist,
"buffer", buffer,
"enable-word-completion", gWordCompletion,
"highlight-current-line", TRUE,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]