diff options
author | Johan Dahlin <johan@src.gnome.org> | 2007-08-29 20:14:37 +0000 |
---|---|---|
committer | Johan Dahlin <johan@src.gnome.org> | 2007-08-29 20:14:37 +0000 |
commit | fef627a81410ee832b832e4fe5f341d815fa099b (patch) | |
tree | 7ff9767917013619dfe55e0c36f5cb92668b9a9d /pango.override | |
parent | fb5f535dd9ade14ea0cb129fb548a3afd4dcfb96 (diff) | |
download | pygtk-fef627a81410ee832b832e4fe5f341d815fa099b.tar.gz |
Fix bug in hash() implementation and test it properly
svn path=/trunk/; revision=2898
Diffstat (limited to 'pango.override')
-rw-r--r-- | pango.override | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pango.override b/pango.override index 80a8e114..81d72d3a 100644 --- a/pango.override +++ b/pango.override @@ -2037,10 +2037,10 @@ _wrap_pango_font_description_tp_str(PyObject *self) } %% override-slot PangoFontDescription.tp_hash -static PyObject * +static int _wrap_pango_font_description_tp_hash(PyObject *self) { - return _wrap_pango_font_description_hash(self); + return pango_font_description_hash(pyg_boxed_get(self, PangoFontDescription)); } %% override-slot PangoFontDescription.tp_compare |