[gnome-software: 53/110] Drop GsRoundedBin




commit 7006aa20bea5c9c0716c3240e7520a51ab417553
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Tue Aug 24 19:22:51 2021 -0300

    Drop GsRoundedBin
    
    GTK4 can handle rounded corners properly now.

 src/gs-featured-carousel.ui |   7 +-
 src/gs-rounded-bin.c        | 260 --------------------------------------------
 src/gs-rounded-bin.h        |  23 ----
 src/gtk-style.css           |   2 +-
 src/meson.build             |   1 -
 5 files changed, 2 insertions(+), 291 deletions(-)
---
diff --git a/src/gs-featured-carousel.ui b/src/gs-featured-carousel.ui
index 8441991f1..f1c0a5eda 100644
--- a/src/gs-featured-carousel.ui
+++ b/src/gs-featured-carousel.ui
@@ -23,13 +23,8 @@
         <property name="valign">fill</property>
         <property name="visible">True</property>
         <child>
-          <object class="GsRoundedBin">
+          <object class="AdwCarousel" id="carousel">
             <property name="visible">True</property>
-            <child>
-              <object class="AdwCarousel" id="carousel">
-                <property name="visible">True</property>
-              </object>
-            </child>
           </object>
         </child>
         <child type="overlay">
diff --git a/src/gtk-style.css b/src/gtk-style.css
index f47edd7aa..ad2932adc 100644
--- a/src/gtk-style.css
+++ b/src/gtk-style.css
@@ -597,7 +597,7 @@ star-image {
        opacity: 0.5;
 }
 
-.featured-carousel rounded-bin {
+.featured-carousel carousel {
        border-radius: 8px;
 }
 
diff --git a/src/meson.build b/src/meson.build
index 1f59c4218..94fe23bdf 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -70,7 +70,6 @@ gnome_software_sources = [
   'gs-review-dialog.c',
   'gs-review-histogram.c',
   'gs-review-row.c',
-  'gs-rounded-bin.c',
   'gs-safety-context-dialog.c',
   'gs-screenshot-carousel.c',
   'gs-screenshot-image.c',


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