gegl-op.h: fix get_property for int

parent 5e8bb45b
......@@ -515,7 +515,7 @@ set_property (GObject *gobject,
break;
#define property_int(name, label, def_val) \
case PROP_##name: \
properties->name = g_value_get_double (value); \
properties->name = g_value_get_int (value); \
break;
#define property_string(name, label, def_val) \
case PROP_##name: \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment