[pygobject] generictreemodel: Fix bad default return type for get_column_type
- From: Simon Feltman <sfeltman src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] generictreemodel: Fix bad default return type for get_column_type
- Date: Wed, 20 Feb 2013 09:23:24 +0000 (UTC)
commit 6e0a32f6d9febbd782dc56a619974f009e79abd9
Author: Simon Feltman <sfeltman src gnome org>
Date: Wed Feb 20 01:21:32 2013 -0800
generictreemodel: Fix bad default return type for get_column_type
pygtkcompat/generictreemodel.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pygtkcompat/generictreemodel.py b/pygtkcompat/generictreemodel.py
index ad67d90..b5e66b0 100644
--- a/pygtkcompat/generictreemodel.py
+++ b/pygtkcompat/generictreemodel.py
@@ -223,7 +223,7 @@ class GenericTreeModel(GObject.GObject, Gtk.TreeModel):
"""Internal method."""
return self.on_get_n_columns()
- @handle_exception((False, None))
+ @handle_exception(GObject.TYPE_INVALID)
def do_get_column_type(self, index):
"""Internal method."""
return self.on_get_column_type(index)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]