[gnome-control-center] datetime: Remove unused property setters/getters



commit 5fa3671289360759223d3a43d3fe7103e67e7973
Author: Kalev Lember <kalevlember gmail com>
Date:   Wed Mar 12 17:26:16 2014 +0100

    datetime: Remove unused property setters/getters

 panels/datetime/cc-datetime-panel.c |   28 ----------------------------
 panels/datetime/cc-timezone-map.c   |   28 ----------------------------
 2 files changed, 0 insertions(+), 56 deletions(-)
---
diff --git a/panels/datetime/cc-datetime-panel.c b/panels/datetime/cc-datetime-panel.c
index ae3566e..f52187e 100644
--- a/panels/datetime/cc-datetime-panel.c
+++ b/panels/datetime/cc-datetime-panel.c
@@ -105,32 +105,6 @@ static void change_time (CcDateTimePanel *self);
 
 
 static void
-cc_date_time_panel_get_property (GObject    *object,
-                               guint       property_id,
-                               GValue     *value,
-                               GParamSpec *pspec)
-{
-  switch (property_id)
-    {
-    default:
-      G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
-    }
-}
-
-static void
-cc_date_time_panel_set_property (GObject      *object,
-                               guint         property_id,
-                               const GValue *value,
-                               GParamSpec   *pspec)
-{
-  switch (property_id)
-    {
-    default:
-      G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
-    }
-}
-
-static void
 cc_date_time_panel_dispose (GObject *object)
 {
   CcDateTimePanelPrivate *priv = CC_DATE_TIME_PANEL (object)->priv;
@@ -192,8 +166,6 @@ cc_date_time_panel_class_init (CcDateTimePanelClass *klass)
 
   g_type_class_add_private (klass, sizeof (CcDateTimePanelPrivate));
 
-  object_class->get_property = cc_date_time_panel_get_property;
-  object_class->set_property = cc_date_time_panel_set_property;
   object_class->dispose = cc_date_time_panel_dispose;
 
   panel_class->get_permission = cc_date_time_panel_get_permission;
diff --git a/panels/datetime/cc-timezone-map.c b/panels/datetime/cc-timezone-map.c
index e84cdbe..44bc2dc 100644
--- a/panels/datetime/cc-timezone-map.c
+++ b/panels/datetime/cc-timezone-map.c
@@ -120,32 +120,6 @@ static CcTimezoneMapOffset color_codes[] =
 
 
 static void
-cc_timezone_map_get_property (GObject    *object,
-                              guint       property_id,
-                              GValue     *value,
-                              GParamSpec *pspec)
-{
-  switch (property_id)
-    {
-    default:
-      G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
-    }
-}
-
-static void
-cc_timezone_map_set_property (GObject      *object,
-                              guint         property_id,
-                              const GValue *value,
-                              GParamSpec   *pspec)
-{
-  switch (property_id)
-    {
-    default:
-      G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
-    }
-}
-
-static void
 cc_timezone_map_dispose (GObject *object)
 {
   CcTimezoneMapPrivate *priv = CC_TIMEZONE_MAP (object)->priv;
@@ -502,8 +476,6 @@ cc_timezone_map_class_init (CcTimezoneMapClass *klass)
 
   g_type_class_add_private (klass, sizeof (CcTimezoneMapPrivate));
 
-  object_class->get_property = cc_timezone_map_get_property;
-  object_class->set_property = cc_timezone_map_set_property;
   object_class->dispose = cc_timezone_map_dispose;
   object_class->finalize = cc_timezone_map_finalize;
 


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