[libadwaita] tab: Remove unused struct members



commit bf73a3e987029890bb108a66ad6d30dfa01bae92
Author: ZenWalker <scow riseup net>
Date:   Wed Jun 2 10:40:51 2021 +0200

    tab: Remove unused struct members

 src/adw-tab.c | 13 -------------
 1 file changed, 13 deletions(-)
---
diff --git a/src/adw-tab.c b/src/adw-tab.c
index a8dce341..47e36020 100644
--- a/src/adw-tab.c
+++ b/src/adw-tab.c
@@ -47,8 +47,6 @@ struct _AdwTab
   gboolean fully_visible;
 
   AdwAnimation *close_btn_animation;
-  cairo_pattern_t *gradient;
-  double gradient_opacity;
 
   GskGLShader *shader;
   gboolean shader_compiled;
@@ -730,16 +728,6 @@ adw_tab_dispose (GObject *object)
   G_OBJECT_CLASS (adw_tab_parent_class)->dispose (object);
 }
 
-static void
-adw_tab_finalize (GObject *object)
-{
-  AdwTab *self = ADW_TAB (object);
-
-  g_clear_pointer (&self->gradient, cairo_pattern_destroy);
-
-  G_OBJECT_CLASS (adw_tab_parent_class)->finalize (object);
-}
-
 static void
 adw_tab_class_init (AdwTabClass *klass)
 {
@@ -747,7 +735,6 @@ adw_tab_class_init (AdwTabClass *klass)
   GtkWidgetClass *widget_class = GTK_WIDGET_CLASS (klass);
 
   object_class->dispose = adw_tab_dispose;
-  object_class->finalize = adw_tab_finalize;
   object_class->constructed = adw_tab_constructed;
   object_class->get_property = adw_tab_get_property;
   object_class->set_property = adw_tab_set_property;


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