[gnome-software: 1/2] details-page: Drop an unused widget
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software: 1/2] details-page: Drop an unused widget
- Date: Tue, 1 Mar 2022 14:15:27 +0000 (UTC)
commit 21861ed3b1db754ef2a6424d4c5d7b2e09107def
Author: Adrien Plazas <kekun plazas laposte net>
Date: Tue Mar 1 14:09:08 2022 +0100
details-page: Drop an unused widget
This cleans up the code a bit.
src/gs-details-page.c | 2 --
src/gs-details-page.ui | 11 -----------
2 files changed, 13 deletions(-)
---
diff --git a/src/gs-details-page.c b/src/gs-details-page.c
index 80d552f7b..b9f5c1e03 100644
--- a/src/gs-details-page.c
+++ b/src/gs-details-page.c
@@ -136,7 +136,6 @@ struct _GsDetailsPage
GtkWidget *box_reviews_internal;
GtkWidget *histogram;
GtkWidget *button_review;
- GtkWidget *list_box_reviews;
GtkWidget *scrolledwindow_details;
GtkWidget *spinner_details;
GtkWidget *stack_details;
@@ -2263,7 +2262,6 @@ gs_details_page_class_init (GsDetailsPageClass *klass)
gtk_widget_class_bind_template_child (widget_class, GsDetailsPage, box_reviews_internal);
gtk_widget_class_bind_template_child (widget_class, GsDetailsPage, histogram);
gtk_widget_class_bind_template_child (widget_class, GsDetailsPage, button_review);
- gtk_widget_class_bind_template_child (widget_class, GsDetailsPage, list_box_reviews);
gtk_widget_class_bind_template_child (widget_class, GsDetailsPage, scrolledwindow_details);
gtk_widget_class_bind_template_child (widget_class, GsDetailsPage, spinner_details);
gtk_widget_class_bind_template_child (widget_class, GsDetailsPage, stack_details);
diff --git a/src/gs-details-page.ui b/src/gs-details-page.ui
index 058917046..cda8392a1 100644
--- a/src/gs-details-page.ui
+++ b/src/gs-details-page.ui
@@ -895,17 +895,6 @@
</child>
</object>
</child>
- <child>
- <object class="GtkListBox" id="list_box_reviews">
- <property name="can_focus">True</property>
- <property name="margin_top">12</property>
- <property name="selection_mode">none</property>
- <property name="valign">start</property>
- <style>
- <class name="background"/>
- </style>
- </object>
- </child>
</object>
</child>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]