[gnome-builder] libide/tweaks: fix some warnings



commit ba2b0eac2e0f5c3ca03f821c7a99054967a55fa6
Author: Christian Hergert <chergert redhat com>
Date:   Fri Aug 5 17:06:44 2022 -0700

    libide/tweaks: fix some warnings

 src/libide/tweaks/ide-tweaks.c | 39 ---------------------------------------
 1 file changed, 39 deletions(-)
---
diff --git a/src/libide/tweaks/ide-tweaks.c b/src/libide/tweaks/ide-tweaks.c
index 8d4a574a4..8f32aebd2 100644
--- a/src/libide/tweaks/ide-tweaks.c
+++ b/src/libide/tweaks/ide-tweaks.c
@@ -35,13 +35,6 @@ struct _IdeTweaks
 
 G_DEFINE_FINAL_TYPE (IdeTweaks, ide_tweaks, IDE_TYPE_TWEAKS_ITEM)
 
-enum {
-  PROP_0,
-  N_PROPS
-};
-
-static GParamSpec *properties [N_PROPS];
-
 static gboolean
 ide_tweaks_accepts (IdeTweaksItem *item,
                     IdeTweaksItem *child)
@@ -62,36 +55,6 @@ ide_tweaks_dispose (GObject *object)
   G_OBJECT_CLASS (ide_tweaks_parent_class)->dispose (object);
 }
 
-static void
-ide_tweaks_get_property (GObject    *object,
-                         guint       prop_id,
-                         GValue     *value,
-                         GParamSpec *pspec)
-{
-  IdeTweaks *self = IDE_TWEAKS (object);
-
-  switch (prop_id)
-    {
-    default:
-      G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
-    }
-}
-
-static void
-ide_tweaks_set_property (GObject      *object,
-                         guint         prop_id,
-                         const GValue *value,
-                         GParamSpec   *pspec)
-{
-  IdeTweaks *self = IDE_TWEAKS (object);
-
-  switch (prop_id)
-    {
-    default:
-      G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
-    }
-}
-
 static void
 ide_tweaks_class_init (IdeTweaksClass *klass)
 {
@@ -99,8 +62,6 @@ ide_tweaks_class_init (IdeTweaksClass *klass)
   IdeTweaksItemClass *item_class = IDE_TWEAKS_ITEM_CLASS (klass);
 
   object_class->dispose = ide_tweaks_dispose;
-  object_class->get_property = ide_tweaks_get_property;
-  object_class->set_property = ide_tweaks_set_property;
 
   item_class->accepts = ide_tweaks_accepts;
 }


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