Commit 5e92d320 authored by Michele Baldessari's avatar Michele Baldessari Committed by Kjartan Maraas

pyg_boxed_get should be on item not py_palette. Reported with fix by Loïc

2005-07-26  Michele Baldessari  <michele@pupazzo.org>

	* python/vte.override (_wrap_vte_terminal_set_colors):
	pyg_boxed_get should be on item not py_palette.
	Reported with fix by Loïc Minier <lool+gnome@via.ecp.fr>
	Closes bug #311570
parent 3be10ecb
2005-07-26 Michele Baldessari <michele@pupazzo.org>
* python/vte.override (_wrap_vte_terminal_set_colors):
pyg_boxed_get should be on item not py_palette.
Reported with fix by Loïc Minier <lool+gnome@via.ecp.fr>
Closes bug #311570
2005-07-25 Michele Baldessari <michele@pupazzo.org>
* src/vtepango.c (_vte_pango_create): Initialize
......
......@@ -490,7 +490,7 @@ _wrap_vte_terminal_set_colors(PyGObject *self, PyObject *args, PyObject *kwargs)
PyErr_SetString(PyExc_TypeError, "palette should be a list of GdkColors");
return NULL;
}
palette[i] = *((GdkColor*)pyg_boxed_get(py_palette, GdkColor));
palette[i] = *((GdkColor*)pyg_boxed_get(item, GdkColor));
Py_DECREF(item);
}
} else {
......
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