diff options
author | Gustavo J. A. M. Carneiro <gcarneiro@src.gnome.org> | 2004-07-03 22:57:59 +0000 |
---|---|---|
committer | Gustavo J. A. M. Carneiro <gcarneiro@src.gnome.org> | 2004-07-03 22:57:59 +0000 |
commit | 9912c027a0d8bd997b8e7ce30de79039cc848b08 (patch) | |
tree | d116dbd75c71d51dcc26ed09b573eb9ab3f2e2b4 /gtk/gtktreeview.override | |
parent | a038c2dd6102cc0f04e4ad782cd9f3765c55b142 (diff) | |
download | pygtk-9912c027a0d8bd997b8e7ce30de79039cc848b08.tar.gz |
Fix crash on tree selection get selected rows when tree is empty
Diffstat (limited to 'gtk/gtktreeview.override')
-rw-r--r-- | gtk/gtktreeview.override | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktreeview.override b/gtk/gtktreeview.override index 3882e1a0..3daf25e9 100644 --- a/gtk/gtktreeview.override +++ b/gtk/gtktreeview.override @@ -547,7 +547,7 @@ override gtk_tree_selection_get_selected_rows noargs static PyObject * _wrap_gtk_tree_selection_get_selected_rows(PyGObject *self) { - GtkTreeModel *model; + GtkTreeModel *model = NULL; GList *selected, *tmp; PyObject *py_selected; |