plug-ins: Fix PyGIMP item warnings

This commit is contained in:
Martin Nordholts 2011-05-18 21:17:17 +02:00
parent 87e69d2312
commit 726ec88c26
2 changed files with 3 additions and 2 deletions

View File

@ -30,7 +30,7 @@
#include <glib-object.h>
PyObject *
static PyObject *
item_from_id(PyObject *not_used, PyObject *args)
{
gint32 ID;

View File

@ -31,6 +31,7 @@
#include <structmember.h>
#include <glib-object.h>
#include <glib/gprintf.h>
#ifndef PG_DEBUG
# define PG_DEBUG 2
@ -338,7 +339,7 @@ pygimp_param_to_tuple(int nparams, const GimpParam *params)
GimpParam *
pygimp_param_from_tuple(PyObject *args, const GimpParamDef *ptype, int nparams)
{
PyObject *tuple, *item, *x, *y, *w, *h;
PyObject *tuple, *item, *x, *y;
GimpParam *ret;
int i, j, len;
gint32 *i32a; gint16 *i16a; guint8 *i8a; gdouble *fa; gchar **sa;