%s/gegl_list_properties/gegl_operation_list_properties/

parent 1b7ea420
......@@ -84,7 +84,7 @@
)
(define-function list_properties
(c-name "gegl_list_properties")
(c-name "gegl_operation_list_properties")
(return-type "GParamSpec**")
(parameters
'("const-gchar*" "operation_type")
......
......@@ -158,9 +158,9 @@ _wrap_gegl_list_operations(PyObject *self)
return ret;
}
%%
override gegl_list_properties kwargs
override gegl_operation_list_properties kwargs
static PyObject *
_wrap_gegl_list_properties(PyObject *self, PyObject *args, PyObject *kwargs)
_wrap_gegl_operation_list_properties(PyObject *self, PyObject *args, PyObject *kwargs)
{
char *operation;
guint n_properties, i;
......@@ -174,7 +174,7 @@ _wrap_gegl_list_properties(PyObject *self, PyObject *args, PyObject *kwargs)
&operation))
return NULL;
properties = gegl_list_properties(operation, &n_properties);
properties = gegl_operation_list_properties(operation, &n_properties);
ret = PyTuple_New(n_properties);
if (!ret) {
......
......@@ -222,7 +222,7 @@ clist_properties (self, op_type)
VALUE ary;
int i;
props = gegl_list_properties(RVAL2CSTR(op_type), &n_properties);
props = gegl_operation_list_properties(RVAL2CSTR(op_type), &n_properties);
ary = rb_ary_new();
for (i = 0; i < n_properties; i++){
rb_ary_push (ary, rbgobj_ruby_object_from_instance(props[i])); /*rb_str_new2(props[i]->name));*/
......
......@@ -79,7 +79,7 @@ gegl_dot_util_add_node (GString *string,
if (1)
{
guint n_properties;
GParamSpec **properties = gegl_list_properties (gegl_node_get_operation (node), &n_properties);
GParamSpec **properties = gegl_operation_list_properties (gegl_node_get_operation (node), &n_properties);
guint i;
for (i = 0; i < n_properties; i++)
{
......
......@@ -762,7 +762,7 @@ serialize_properties (SerializeState *ss,
gboolean got_a_param = FALSE;
gint i;
properties = gegl_list_properties (gegl_node_get_operation (node),
properties = gegl_operation_list_properties (gegl_node_get_operation (node),
&n_properties);
for (i = 0; i < n_properties; i++)
......
......@@ -121,7 +121,7 @@ void gegl_exit (void);
* Available operations:
* Gegl provides means to check for available processing operations that
* can be used with nodes using #gegl_list_operations and for a specified
* op give a list of properties with #gegl_list_properties.
* op give a list of properties with #gegl_operation_list_properties.
*/
/**
......@@ -147,14 +147,14 @@ gchar **gegl_list_operations (guint *n_operations_p);
/**
* gegl_list_properties:
* gegl_operation_list_properties:
* @operation_type: the name of the operation type we want to query to properties of.
* @n_properties_p: return location for number of properties.
*
* Return value: (transfer container): An allocated array of #GParamSpecs describing the properties
* of the operation available when a node has operation_type set.
*/
GParamSpec** gegl_list_properties (const gchar *operation_type,
GParamSpec** gegl_operation_list_properties (const gchar *operation_type,
guint *n_properties_p);
/***
......
......@@ -343,8 +343,8 @@ get_invalidated_by_change (GeglOperation *self,
/* returns a freshly allocated list of the properties of the object, does not list
* the regular gobject properties of GeglNode ('name' and 'operation') */
GParamSpec **
gegl_list_properties (const gchar *operation_type,
guint *n_properties_p)
gegl_operation_list_properties (const gchar *operation_type,
guint *n_properties_p)
{
GParamSpec **pspecs;
GType type;
......
......@@ -216,8 +216,7 @@ const gchar * gegl_operation_get_name (GeglOperation *operation);
GeglNode * gegl_operation_get_source_node (GeglOperation *operation,
const gchar *pad_name);
/* XXX: should be changed to gegl_op_list_properties */
GParamSpec ** gegl_list_properties (const gchar *operation_type,
GParamSpec ** gegl_operation_list_properties (const gchar *operation_type,
guint *n_properties_p);
/* API to change */
......
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