[gimp] app: gimp_source_core_set|get_property() are now useless.
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: gimp_source_core_set|get_property() are now useless.
- Date: Sat, 5 Feb 2022 13:26:34 +0000 (UTC)
commit 1bc3fd4557c1545ae9e51cd291d87310cef5f2a0
Author: Jehan <jehan girinstud io>
Date: Sat Feb 5 14:25:33 2022 +0100
app: gimp_source_core_set|get_property() are now useless.
app/paint/gimpsourcecore.c | 45 ---------------------------------------------
1 file changed, 45 deletions(-)
---
diff --git a/app/paint/gimpsourcecore.c b/app/paint/gimpsourcecore.c
index 87be4dab77..712423905d 100644
--- a/app/paint/gimpsourcecore.c
+++ b/app/paint/gimpsourcecore.c
@@ -49,15 +49,6 @@ enum
};
-static void gimp_source_core_set_property (GObject *object,
- guint property_id,
- const GValue *value,
- GParamSpec *pspec);
-static void gimp_source_core_get_property (GObject *object,
- guint property_id,
- GValue *value,
- GParamSpec *pspec);
-
static gboolean gimp_source_core_start (GimpPaintCore *paint_core,
GList *drawables,
GimpPaintOptions *paint_options,
@@ -106,13 +97,9 @@ G_DEFINE_TYPE (GimpSourceCore, gimp_source_core, GIMP_TYPE_BRUSH_CORE)
static void
gimp_source_core_class_init (GimpSourceCoreClass *klass)
{
- GObjectClass *object_class = G_OBJECT_CLASS (klass);
GimpPaintCoreClass *paint_core_class = GIMP_PAINT_CORE_CLASS (klass);
GimpBrushCoreClass *brush_core_class = GIMP_BRUSH_CORE_CLASS (klass);
- object_class->set_property = gimp_source_core_set_property;
- object_class->get_property = gimp_source_core_get_property;
-
paint_core_class->start = gimp_source_core_start;
paint_core_class->paint = gimp_source_core_paint;
@@ -136,38 +123,6 @@ gimp_source_core_init (GimpSourceCore *source_core)
source_core->first_stroke = TRUE;
}
-static void
-gimp_source_core_set_property (GObject *object,
- guint property_id,
- const GValue *value,
- GParamSpec *pspec)
-{
- GimpSourceCore *source_core = GIMP_SOURCE_CORE (object);
-
- switch (property_id)
- {
- default:
- G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
- break;
- }
-}
-
-static void
-gimp_source_core_get_property (GObject *object,
- guint property_id,
- GValue *value,
- GParamSpec *pspec)
-{
- GimpSourceCore *source_core = GIMP_SOURCE_CORE (object);
-
- switch (property_id)
- {
- default:
- G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
- break;
- }
-}
-
static gboolean
gimp_source_core_start (GimpPaintCore *paint_core,
GList *drawables,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]