summaryrefslogtreecommitdiff
path: root/pango.override
diff options
context:
space:
mode:
authorJohan Dahlin <johan@src.gnome.org>2007-08-29 20:14:37 +0000
committerJohan Dahlin <johan@src.gnome.org>2007-08-29 20:14:37 +0000
commitfef627a81410ee832b832e4fe5f341d815fa099b (patch)
tree7ff9767917013619dfe55e0c36f5cb92668b9a9d /pango.override
parentfb5f535dd9ade14ea0cb129fb548a3afd4dcfb96 (diff)
downloadpygtk-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.override4
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