fix critical warning when using checkbox and radiobox in list dialog
2007-08-13 Lucas Rocha <lucasr@gnome.org> * src/tree.c: fix critical warning when using checkbox and radiobox in list dialog (Fixes bug #453713). svn path=/trunk/; revision=1230
This commit is contained in:
parent
9d2a28f897
commit
ae3e8d1496
@ -1,3 +1,8 @@
|
|||||||
|
2007-08-13 Lucas Rocha <lucasr@gnome.org>
|
||||||
|
|
||||||
|
* src/tree.c: fix critical warning when using checkbox and radiobox in
|
||||||
|
list dialog (Fixes bug #453713).
|
||||||
|
|
||||||
2007-05-27 Lucas Rocha <lucasr@gnome.org>
|
2007-05-27 Lucas Rocha <lucasr@gnome.org>
|
||||||
|
|
||||||
* src/tree.c: fix broken handling of input from pipes in list
|
* src/tree.c: fix broken handling of input from pipes in list
|
||||||
|
@ -309,7 +309,7 @@ zenity_tree (ZenityData *data, ZenityTreeData *tree_data)
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
print_columns = g_new (gint, 2);
|
print_columns = g_new (gint, 2);
|
||||||
print_columns[0] = 1;
|
print_columns[0] = (tree_data->radiobox || tree_data->checkbox ? 2 : 1);
|
||||||
print_columns[1] = 0;
|
print_columns[1] = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user