[gimp/soc-2009-dynamics] Adjust dynamics object.
- From: zhenfeng zhao <zhenfengz src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gimp/soc-2009-dynamics] Adjust dynamics object.
- Date: Fri, 7 Aug 2009 17:12:40 +0000 (UTC)
commit 7ed35dad9f2044c144c5bd6ca588f86619cc27c8
Author: zhenfeng zhao <zhzzf_0808 hotmail com>
Date: Fri Aug 7 14:09:53 2009 -0300
Adjust dynamics object.
app/paint/gimpdynamicsoptions.c | 12 +++++++++---
app/paint/gimpdynamicsoptions.h | 3 +--
2 files changed, 10 insertions(+), 5 deletions(-)
---
diff --git a/app/paint/gimpdynamicsoptions.c b/app/paint/gimpdynamicsoptions.c
index 4a1980a..3b30d0e 100644
--- a/app/paint/gimpdynamicsoptions.c
+++ b/app/paint/gimpdynamicsoptions.c
@@ -181,6 +181,8 @@ static gdouble gimp_dynamics_options_get_dynamics_mix (gdouble mix1,
gdouble mix6,
gdouble mix6_scale);
+static void gimp_dynamics_options_class_init (GimpDynamicsOptionsClass *klass)
+
static void gimp_dynamics_options_finalize (GObject *object);
@@ -196,13 +198,14 @@ static void gimp_dynamics_options_get_property (GObject *object,
GValue *value,
GParamSpec *pspec);
+/*
G_DEFINE_TYPE_WITH_CODE (GimpDynamicsOptions, gimp_dynamics_options, GIMP_TYPE_DATA,
- G_IMPLEMENT_INTERFACE (GIMP_TYPE_TAGGED,
+ G_IMPLEMENT_INTERFACE (GIMP_TYPE_DOCKED,
gimp_dynamics_editor_docked_iface_init))
-/*
+*/
G_DEFINE_TYPE (GimpDynamicsOptions, gimp_dynamics_options,
GIMP_TYPE_DATA)
-*/
+
#define parent_class gimp_dynamics_options_parent_class
@@ -976,6 +979,7 @@ static void
gimp_dynamics_options_notify (GObject *object,
GParamSpec *pspec)
{
+/*
GimpDynamicsOptions *options = GIMP_DYNAMICS_OPTIONS (object);
if (pspec->param_id == PROP_USE_GRADIENT)
@@ -995,6 +999,8 @@ gimp_dynamics_options_notify (GObject *object,
if (G_OBJECT_CLASS (parent_class)->notify)
G_OBJECT_CLASS (parent_class)->notify (object, pspec);
+ */
+
}
GimpDynamicsOptions *
diff --git a/app/paint/gimpdynamicsoptions.h b/app/paint/gimpdynamicsoptions.h
index 7533e4f..283a980 100644
--- a/app/paint/gimpdynamicsoptions.h
+++ b/app/paint/gimpdynamicsoptions.h
@@ -21,7 +21,7 @@
#include "core/gimptooloptions.h"
#include "gimppaintoptions.h"
-#include "gimpdata.h"
+#include "core/gimpdata.h"
typedef struct _GimpDynamicOptions GimpDynamicOptions;
@@ -54,7 +54,6 @@ struct _GimpDynamicOptions
typedef struct _GimpDynamicsOptionsClass GimpDynamicsOptionsClass;
-
struct _GimpDynamicsOptions
{
GimpData parent_instance;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]