summaryrefslogtreecommitdiff
path: root/gdkimlibmodule.c
diff options
context:
space:
mode:
authorJames Henstridge <james@daa.com.au>1998-12-24 02:13:11 +0000
committerJames Henstridge <jamesh@src.gnome.org>1998-12-24 02:13:11 +0000
commit842dac8a0845e67d5b366f8abc805337aab68538 (patch)
tree3f80814957f7790aab976f3af076c382e173a854 /gdkimlibmodule.c
parent2cef7f913bb1a87274e74ff1a905de108a076552 (diff)
downloadpygtk-842dac8a0845e67d5b366f8abc805337aab68538.tar.gz
I accidentally returned rgb_width instead of rgb_height. This bug report
1998-12-24 James Henstridge <james@daa.com.au> * gdkimlibmodule.c(_wrap_gdk_imlib_get_rgb_height): I accidentally returned rgb_width instead of rgb_height. This bug report was from Osamu Tanimoto <tanimoto@rios.co.jp>.
Diffstat (limited to 'gdkimlibmodule.c')
-rw-r--r--gdkimlibmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdkimlibmodule.c b/gdkimlibmodule.c
index 3407cf5a..356f5248 100644
--- a/gdkimlibmodule.c
+++ b/gdkimlibmodule.c
@@ -702,7 +702,7 @@ static PyObject *_wrap_gdk_imlib_get_rgb_height(PyObject *self, PyObject *args)
if(!PyArg_ParseTuple(args,"O!:gdk_imlib_get_rgb_height",
&PyGdkImlibImage_Type, &image))
return NULL;
- return PyInt_FromLong(PyGdkImlibImage_Get(image)->rgb_width);
+ return PyInt_FromLong(PyGdkImlibImage_Get(image)->rgb_height);
}
static PyObject *_wrap_gdk_imlib_get_filename(PyObject *self, PyObject *args) {