1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

Update to 1.99.14.

This commit is contained in:
Joe Marcus Clarke 2003-01-15 04:43:10 +00:00
parent 98d23a76be
commit 9db400d986
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=73152
3 changed files with 2 additions and 41 deletions

View File

@ -5,8 +5,7 @@
# $FreeBSD$
PORTNAME= gtk
PORTVERSION= 1.99.13
PORTREVISION= 1
PORTVERSION= 1.99.14
CATEGORIES= x11-toolkits python
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/pygtk/1.99

View File

@ -1 +1 @@
MD5 (gnome2/pygtk-1.99.13.tar.bz2) = 1c774e143704a2755fc25b19399775a8
MD5 (gnome2/pygtk-1.99.14.tar.bz2) = c5614d17d0642403ef298a50d1e0d220

View File

@ -1,38 +0,0 @@
--- ./gtk/pygtkcellrenderer.c.orig Sat Jul 20 07:37:29 2002
+++ ./gtk/pygtkcellrenderer.c Fri Nov 8 21:01:20 2002
@@ -94,6 +94,7 @@
gint *height)
{
PyObject *self, *py_ret, *py_widget, *py_cell_area;
+ gint my_x, my_y, my_width, my_height;
g_return_if_fail(PYGTK_IS_GENERIC_CELL_RENDERER (cell));
@@ -117,13 +118,26 @@
Py_DECREF(py_widget);
Py_DECREF(py_cell_area);
- if (!PyArg_ParseTuple(py_ret, "iiii", x_offset, y_offset, width, height)) {
+ if (!PyArg_ParseTuple(py_ret, "iiii",
+ &my_x, &my_y, &my_width, &my_height)) {
PyErr_Clear();
Py_DECREF(py_ret);
g_warning("could not parse return value of get_size() method. "
"Should be of form (x_offset, y_offset, width, height)");
return;
}
+
+ if (x_offset)
+ *x_offset = my_x;
+
+ if (y_offset)
+ *y_offset = my_y;
+
+ if (width)
+ *width = my_width;
+
+ if (height)
+ *height = my_height;
/* success */
}