[gtksourceview/wip/chergert/gsv-gtk4: 202/259] completion: remove some unused bits from test
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/wip/chergert/gsv-gtk4: 202/259] completion: remove some unused bits from test
- Date: Mon, 21 Sep 2020 23:27:47 +0000 (UTC)
commit 788c072154f8146cc9cd76d6b1c0635c7bf067ca
Author: Christian Hergert <chergert redhat com>
Date: Sun Aug 30 09:38:45 2020 -0700
completion: remove some unused bits from test
tests/test-completion.c | 14 ++------------
tests/test-completion.ui | 5 -----
2 files changed, 2 insertions(+), 17 deletions(-)
---
diff --git a/tests/test-completion.c b/tests/test-completion.c
index af94a364..fcf74aaf 100644
--- a/tests/test-completion.c
+++ b/tests/test-completion.c
@@ -467,22 +467,10 @@ create_window (void)
G_CALLBACK (g_main_loop_quit),
main_loop);
- g_object_bind_property (completion, "remember-info-visibility",
- remember_info_visibility, "active",
- G_BINDING_SYNC_CREATE | G_BINDING_BIDIRECTIONAL);
-
g_object_bind_property (completion, "select-on-show",
select_on_show, "active",
G_BINDING_SYNC_CREATE | G_BINDING_BIDIRECTIONAL);
- g_object_bind_property (completion, "show-headers",
- show_headers, "active",
- G_BINDING_SYNC_CREATE | G_BINDING_BIDIRECTIONAL);
-
- g_object_bind_property (completion, "show-icons",
- show_icons, "active",
- G_BINDING_SYNC_CREATE | G_BINDING_BIDIRECTIONAL);
-
create_completion (source_view, completion);
g_signal_connect (enable_word_provider,
@@ -511,6 +499,8 @@ create_window (void)
random_provider);
g_object_unref (builder);
+
+ gtk_window_present (window);
}
int
diff --git a/tests/test-completion.ui b/tests/test-completion.ui
index 1b3e1ee8..33071e34 100644
--- a/tests/test-completion.ui
+++ b/tests/test-completion.ui
@@ -256,11 +256,6 @@
<property name="right_margin">2</property>
<property name="auto_indent">True</property>
<property name="monospace">True</property>
- <child internal-child="completion">
- <object class="GtkSourceCompletion">
- <property name="remember_info_visibility">True</property>
- </object>
- </child>
</object>
</child>
<layout>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]