[gegl] sampler: use gegl_sampler_set_buffer when the buffer property is set
- From: Michael Henning <mhenning src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] sampler: use gegl_sampler_set_buffer when the buffer property is set
- Date: Sun, 7 Apr 2013 00:49:08 +0000 (UTC)
commit 8f6e495cb9cc73b939001ef4d380b05371d90e94
Author: Michael Henning <drawoc darkrefraction com>
Date: Sat Apr 6 19:54:34 2013 -0400
sampler: use gegl_sampler_set_buffer when the buffer property is set
gegl/buffer/gegl-sampler.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gegl/buffer/gegl-sampler.c b/gegl/buffer/gegl-sampler.c
index 8a5ac8f..69a8635 100644
--- a/gegl/buffer/gegl-sampler.c
+++ b/gegl/buffer/gegl-sampler.c
@@ -487,7 +487,7 @@ set_property (GObject *object,
switch (property_id)
{
case PROP_BUFFER:
- self->buffer = GEGL_BUFFER (g_value_dup_object (value));
+ gegl_sampler_set_buffer (self, GEGL_BUFFER (g_value_get_object (value)));
break;
case PROP_FORMAT:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]