[pygobject] remove unused code
- From: Tomeu Vizoso <tomeuv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] remove unused code
- Date: Fri, 17 Sep 2010 12:56:22 +0000 (UTC)
commit 6769a4704f0876ac3baacd4da03ff16d9f0906be
Author: John (J5) Palmieri <johnp redhat com>
Date: Thu Sep 9 13:55:17 2010 -0400
remove unused code
* we use richcompare now
https://bugzilla.gnome.org/show_bug.cgi?id=629198
gobject/pygtype.c | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/gobject/pygtype.c b/gobject/pygtype.c
index df1a868..c875aa2 100644
--- a/gobject/pygtype.c
+++ b/gobject/pygtype.c
@@ -39,15 +39,6 @@ typedef struct {
PYGLIB_DEFINE_TYPE("gobject.GType", PyGTypeWrapper_Type, PyGTypeWrapper);
-static int
-pyg_type_wrapper_compare(PyGTypeWrapper *self, PyGTypeWrapper *v)
-{
- if (self->type == v->type) return 0;
- if (self->type > v->type) return -1;
- return 1;
-}
-
-
static PyObject*
pyg_type_wrapper_richcompare(PyObject *self, PyObject *other, int op)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]