[PATCH 2/4] [gi-overrides] TreeViewColumn.set_cell_data_func func_data can be None
- From: John Stowers <john stowers lists gmail com>
- To: python-hackers-list gnome org
- Subject: [PATCH 2/4] [gi-overrides] TreeViewColumn.set_cell_data_func func_data can be None
- Date: Mon, 7 Mar 2011 00:19:38 +1300
From: John Stowers <john stowers gmail com>
---
gi/overrides/Gtk.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/gi/overrides/Gtk.py b/gi/overrides/Gtk.py
index 55d139e..07b9867 100644
--- a/gi/overrides/Gtk.py
+++ b/gi/overrides/Gtk.py
@@ -1116,6 +1116,8 @@ class TreeViewColumn(Gtk.TreeViewColumn):
if success:
return (start_pos, width,)
+ def set_cell_data_func(self, cell_renderer, func, func_data=None):
+ super(TreeViewColumn, self).set_cell_data_func(cell_renderer, func, func_data)
TreeViewColumn = override(TreeViewColumn)
__all__.append('TreeViewColumn')
--
1.7.1
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]