Commit 04a9e34f authored by Manish Singh's avatar Manish Singh Committed by Manish Singh

don't wrap deprecated function gimp_rgb_intensity().

2005-08-04  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-rgb.c: don't wrap deprecated function
        gimp_rgb_intensity().
parent 2b588cde
2005-08-04 Manish Singh <yosh@gimp.org>
* plug-ins/pygimp/pygimp-rgb.c: don't wrap deprecated function
gimp_rgb_intensity().
2005-08-04 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpimagepropview.c: increased spacing between
......
......@@ -209,12 +209,6 @@ rgb_luminance(PyObject *self)
return PyFloat_FromDouble(gimp_rgb_luminance(pyg_boxed_get(self, GimpRGB)));
}
static PyObject *
rgb_intensity(PyObject *self)
{
return PyFloat_FromDouble(gimp_rgb_intensity(pyg_boxed_get(self, GimpRGB)));
}
static PyObject *
rgb_composite(PyObject *self, PyObject *args, PyObject *kwargs)
{
......@@ -329,7 +323,6 @@ static PyMethodDef rgb_methods[] = {
{ "clamp", (PyCFunction)rgb_clamp, METH_NOARGS },
{ "gamma", (PyCFunction)rgb_gamma, METH_VARARGS|METH_KEYWORDS },
{ "luminance", (PyCFunction)rgb_luminance, METH_NOARGS },
{ "intensity", (PyCFunction)rgb_intensity, METH_NOARGS },
{ "composite", (PyCFunction)rgb_composite, METH_VARARGS|METH_KEYWORDS },
{ "parse_name", (PyCFunction)rgb_parse_name, METH_VARARGS|METH_KEYWORDS },
{ "parse_hex", (PyCFunction)rgb_parse_hex, METH_VARARGS|METH_KEYWORDS },
......
......@@ -209,12 +209,6 @@ rgb_luminance(PyObject *self)
return PyFloat_FromDouble(gimp_rgb_luminance(pyg_boxed_get(self, GimpRGB)));
}
static PyObject *
rgb_intensity(PyObject *self)
{
return PyFloat_FromDouble(gimp_rgb_intensity(pyg_boxed_get(self, GimpRGB)));
}
static PyObject *
rgb_composite(PyObject *self, PyObject *args, PyObject *kwargs)
{
......@@ -329,7 +323,6 @@ static PyMethodDef rgb_methods[] = {
{ "clamp", (PyCFunction)rgb_clamp, METH_NOARGS },
{ "gamma", (PyCFunction)rgb_gamma, METH_VARARGS|METH_KEYWORDS },
{ "luminance", (PyCFunction)rgb_luminance, METH_NOARGS },
{ "intensity", (PyCFunction)rgb_intensity, METH_NOARGS },
{ "composite", (PyCFunction)rgb_composite, METH_VARARGS|METH_KEYWORDS },
{ "parse_name", (PyCFunction)rgb_parse_name, METH_VARARGS|METH_KEYWORDS },
{ "parse_hex", (PyCFunction)rgb_parse_hex, METH_VARARGS|METH_KEYWORDS },
......
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