[gtksourceview/wip/chergert/gsv-gtk4: 226/259] completion: remove show-headers option




commit 1a3a0ae5d82c3c39c3f9914fcf848b1fc5425572
Author: Christian Hergert <chergert redhat com>
Date:   Tue Sep 8 14:19:36 2020 -0700

    completion: remove show-headers option
    
    We don't have headers anymore in the display lists.

 tests/test-completion.c  |  2 --
 tests/test-completion.ui | 10 ----------
 2 files changed, 12 deletions(-)
---
diff --git a/tests/test-completion.c b/tests/test-completion.c
index 5b3d818c..771cb691 100644
--- a/tests/test-completion.c
+++ b/tests/test-completion.c
@@ -511,7 +511,6 @@ create_window (void)
        GtkSourceCompletion *completion;
        GtkCheckButton *remember_info_visibility;
        GtkCheckButton *select_on_show;
-       GtkCheckButton *show_headers;
        GtkCheckButton *show_icons;
        GtkCheckButton *enable_word_provider;
        GtkCheckButton *enable_fixed_provider;
@@ -534,7 +533,6 @@ create_window (void)
        source_view = GTK_SOURCE_VIEW (gtk_builder_get_object (builder, "source_view"));
        remember_info_visibility = GTK_CHECK_BUTTON (gtk_builder_get_object (builder, 
"checkbutton_remember_info_visibility"));
        select_on_show = GTK_CHECK_BUTTON (gtk_builder_get_object (builder, "checkbutton_select_on_show"));
-       show_headers = GTK_CHECK_BUTTON (gtk_builder_get_object (builder, "checkbutton_show_headers"));
        show_icons = GTK_CHECK_BUTTON (gtk_builder_get_object (builder, "checkbutton_show_icons"));
        enable_word_provider = GTK_CHECK_BUTTON (gtk_builder_get_object (builder, 
"checkbutton_word_provider"));
        enable_fixed_provider = GTK_CHECK_BUTTON (gtk_builder_get_object (builder, 
"checkbutton_fixed_provider"));
diff --git a/tests/test-completion.ui b/tests/test-completion.ui
index 47249c84..715515af 100644
--- a/tests/test-completion.ui
+++ b/tests/test-completion.ui
@@ -47,16 +47,6 @@
                     </layout>
                   </object>
                 </child>
-                <child>
-                  <object class="GtkCheckButton" id="checkbutton_show_headers">
-                    <property name="label">Show headers</property>
-                    <property name="can_focus">1</property>
-                    <layout>
-                      <property name="column">0</property>
-                      <property name="row">2</property>
-                    </layout>
-                  </object>
-                </child>
                 <child>
                   <object class="GtkCheckButton" id="checkbutton_show_icons">
                     <property name="label">Show icons</property>


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