[gnome-todo] sidebar: Remove dead code



commit f37e5831d67515a70ab7b8e81645b69453060d21
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Sat Jun 8 21:45:31 2019 -0300

    sidebar: Remove dead code

 src/sidebar/gtd-sidebar.c | 51 -----------------------------------------------
 1 file changed, 51 deletions(-)
---
diff --git a/src/sidebar/gtd-sidebar.c b/src/sidebar/gtd-sidebar.c
index 696b6e2..b121058 100644
--- a/src/sidebar/gtd-sidebar.c
+++ b/src/sidebar/gtd-sidebar.c
@@ -47,14 +47,6 @@ struct _GtdSidebar
 
 G_DEFINE_TYPE (GtdSidebar, gtd_sidebar, GTK_TYPE_BOX)
 
-enum
-{
-  PROP_0,
-  N_PROPS
-};
-
-//static GParamSpec *properties [N_PROPS];
-
 
 /*
  * Auxiliary methods
@@ -561,44 +553,6 @@ gtd_sidebar_constructed (GObject *object)
   g_signal_connect (manager, "list-removed", G_CALLBACK (on_task_list_removed_cb), self);
 }
 
-static void
-gtd_sidebar_finalize (GObject *object)
-{
-  //GtdSidebar *self = (GtdSidebar *)object;
-
-  G_OBJECT_CLASS (gtd_sidebar_parent_class)->finalize (object);
-}
-
-static void
-gtd_sidebar_get_property (GObject    *object,
-                          guint       prop_id,
-                          GValue     *value,
-                          GParamSpec *pspec)
-{
-  //GtdSidebar *self = GTD_SIDEBAR (object);
-
-  switch (prop_id)
-    {
-    default:
-      G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
-    }
-}
-
-static void
-gtd_sidebar_set_property (GObject      *object,
-                          guint         prop_id,
-                          const GValue *value,
-                          GParamSpec   *pspec)
-{
-  //GtdSidebar *self = GTD_SIDEBAR (object);
-
-  switch (prop_id)
-    {
-    default:
-      G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
-    }
-}
-
 static void
 gtd_sidebar_class_init (GtdSidebarClass *klass)
 {
@@ -606,11 +560,6 @@ gtd_sidebar_class_init (GtdSidebarClass *klass)
   GtkWidgetClass *widget_class = GTK_WIDGET_CLASS (klass);
 
   object_class->constructed = gtd_sidebar_constructed;
-  object_class->finalize = gtd_sidebar_finalize;
-  object_class->get_property = gtd_sidebar_get_property;
-  object_class->set_property = gtd_sidebar_set_property;
-
-  //g_object_class_install_properties (object_class, N_PROPS, properties);
 
   gtk_widget_class_set_template_from_resource (widget_class, "/org/gnome/todo/ui/sidebar/gtd-sidebar.ui");
 


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