gegl r2897 - trunk/gegl/buffer
- From: martinn svn gnome org
- To: svn-commits-list gnome org
- Subject: gegl r2897 - trunk/gegl/buffer
- Date: Tue, 10 Feb 2009 20:00:13 +0000 (UTC)
Author: martinn
Date: Tue Feb 10 20:00:13 2009
New Revision: 2897
URL: http://svn.gnome.org/viewvc/gegl?rev=2897&view=rev
Log:
Fix compiler warning about set_property() type
Modified:
trunk/gegl/buffer/gegl-sampler-linear.c
Modified: trunk/gegl/buffer/gegl-sampler-linear.c
==============================================================================
--- trunk/gegl/buffer/gegl-sampler-linear.c (original)
+++ trunk/gegl/buffer/gegl-sampler-linear.c Tue Feb 10 20:00:13 2009
@@ -76,10 +76,10 @@
const gdouble y,
void* restrict output);
-static void set_property (GObject* gobject,
- guint property_id,
- GValue* value,
- GParamSpec* pspec);
+static void set_property (GObject* gobject,
+ guint property_id,
+ const GValue* value,
+ GParamSpec* pspec);
static void get_property (GObject* gobject,
guint property_id,
@@ -231,10 +231,10 @@
}
static void
-set_property (GObject* gobject,
- guint property_id,
- GValue* value,
- GParamSpec* pspec)
+set_property (GObject* gobject,
+ guint property_id,
+ const GValue* value,
+ GParamSpec* pspec)
{
G_OBJECT_WARN_INVALID_PROPERTY_ID (gobject, property_id, pspec);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]