[monet/monet-xml] mn-config: remove redundant get/set_property functions



commit 2e26b2cdb96824818e2fb429782406b24db383f7
Author: Thomas Wood <thos gnome org>
Date:   Sun Jul 25 15:59:01 2010 +0100

    mn-config: remove redundant get/set_property functions

 monet/mn-config.c |   29 -----------------------------
 1 files changed, 0 insertions(+), 29 deletions(-)
---
diff --git a/monet/mn-config.c b/monet/mn-config.c
index b33e5d7..1bce4a9 100644
--- a/monet/mn-config.c
+++ b/monet/mn-config.c
@@ -33,36 +33,9 @@ G_DEFINE_TYPE (MnConfig, mn_config, G_TYPE_OBJECT)
 struct _MnConfigPrivate
 {
   GHashTable *colors;
-  MnConfig *config;
 };
 
 static void
-mn_config_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
-mn_config_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
 mn_config_dispose (GObject *object)
 {
   G_OBJECT_CLASS (mn_config_parent_class)->dispose (object);
@@ -125,8 +98,6 @@ mn_config_class_init (MnConfigClass *klass)
 
   g_type_class_add_private (klass, sizeof (MnConfigPrivate));
 
-  object_class->get_property = mn_config_get_property;
-  object_class->set_property = mn_config_set_property;
   object_class->dispose = mn_config_dispose;
   object_class->finalize = mn_config_finalize;
 }



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