GitLab repository storage has been migrated to hashed layout. Please contact Infrastructure team if you notice any issues with repositories or hooks.

Commit c913c151 authored by Mikael Magnusson's avatar Mikael Magnusson

libgimp, plug-ins: change the parasite function calls in more places

parent c550eae5
......@@ -664,8 +664,8 @@ gimp_item_get_tattoo
gimp_item_set_tattoo
gimp_item_attach_parasite
gimp_item_detach_parasite
gimp_item_find_parasite
gimp_item_list_parasites
gimp_item_get_parasite
gimp_item_get_parasite_list
</SECTION>
<SECTION>
......
......@@ -451,12 +451,13 @@ EXPORTS
gimp_item_attach_parasite
gimp_item_delete
gimp_item_detach_parasite
gimp_item_find_parasite
gimp_item_get_children
gimp_item_get_image
gimp_item_get_linked
gimp_item_get_lock_content
gimp_item_get_name
gimp_item_get_parasite
gimp_item_get_parasite_list
gimp_item_get_parent
gimp_item_get_tattoo
gimp_item_get_visible
......@@ -469,7 +470,6 @@ EXPORTS
gimp_item_is_text_layer
gimp_item_is_valid
gimp_item_is_vectors
gimp_item_list_parasites
gimp_item_set_linked
gimp_item_set_lock_content
gimp_item_set_name
......
......@@ -229,7 +229,7 @@ drw_parasite_find(PyGimpDrawable *self, PyObject *args)
if (!PyArg_ParseTuple(args, "s:parasite_find", &name))
return NULL;
return pygimp_parasite_new(gimp_item_find_parasite(self->ID, name));
return pygimp_parasite_new(gimp_item_get_parasite(self->ID, name));
}
static PyObject *
......@@ -308,7 +308,8 @@ drw_parasite_list(PyGimpDrawable *self)
gint num_parasites;
gchar **parasites;
if (gimp_item_list_parasites(self->ID, &num_parasites, &parasites)) {
parasites = gimp_item_get_parasite_list(self->ID, &num_parasites);
if (parasites) {
PyObject *ret;
gint i;
......
......@@ -650,7 +650,7 @@ vectors_parasite_find(PyGimpVectors *self, PyObject *args)
if (!PyArg_ParseTuple(args, "s:parasite_find", &name))
return NULL;
return pygimp_parasite_new(gimp_item_find_parasite(self->ID, name));
return pygimp_parasite_new(gimp_item_get_parasite(self->ID, name));
}
static PyObject *
......@@ -698,7 +698,8 @@ vectors_parasite_list(PyGimpVectors *self)
gint num_parasites;
gchar **parasites;
if (gimp_item_list_parasites(self->ID, &num_parasites, &parasites)) {
parasites = gimp_item_get_parasite_list(self->ID, &num_parasites);
if (parasites) {
PyObject *ret;
gint i;
......
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