[gnome-builder] sidebar: remove unused widget from menu button



commit 08114df794243054ec100929e79eee0190ceae2e
Author: Christian Hergert <chergert redhat com>
Date:   Sun Oct 22 19:58:28 2017 -0700

    sidebar: remove unused widget from menu button

 src/libide/editor/ide-editor-sidebar.c  |    2 --
 src/libide/editor/ide-editor-sidebar.ui |    5 -----
 2 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/src/libide/editor/ide-editor-sidebar.c b/src/libide/editor/ide-editor-sidebar.c
index 37ca1dd..0a27997 100644
--- a/src/libide/editor/ide-editor-sidebar.c
+++ b/src/libide/editor/ide-editor-sidebar.c
@@ -48,7 +48,6 @@ struct _IdeEditorSidebar
   GtkBox            *open_pages_section;
   GtkLabel          *section_title;
   DzlMenuButton     *section_menu_button;
-  GtkImage          *section_image;
   GtkStack          *stack;
 };
 
@@ -141,7 +140,6 @@ ide_editor_sidebar_class_init (IdeEditorSidebarClass *klass)
   gtk_widget_class_bind_template_child (widget_class, IdeEditorSidebar, open_pages_list_box);
   gtk_widget_class_bind_template_child (widget_class, IdeEditorSidebar, open_pages_section);
   gtk_widget_class_bind_template_child (widget_class, IdeEditorSidebar, section_menu_button);
-  gtk_widget_class_bind_template_child (widget_class, IdeEditorSidebar, section_image);
   gtk_widget_class_bind_template_child (widget_class, IdeEditorSidebar, section_title);
   gtk_widget_class_bind_template_child (widget_class, IdeEditorSidebar, stack);
   gtk_widget_class_bind_template_child (widget_class, IdeEditorSidebar, stack_switcher);
diff --git a/src/libide/editor/ide-editor-sidebar.ui b/src/libide/editor/ide-editor-sidebar.ui
index be623a1..ad293c7 100644
--- a/src/libide/editor/ide-editor-sidebar.ui
+++ b/src/libide/editor/ide-editor-sidebar.ui
@@ -84,11 +84,6 @@
                           <class name="image-button"/>
                           <class name="flat"/>
                         </style>
-                        <child>
-                          <object class="GtkImage" id="section_image">
-                            <property name="visible">true</property>
-                          </object>
-                        </child>
                       </object>
                     </child>
                   </object>


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