projects
/
omnplay
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
542e0ab
)
fix index item array position
author
Maksym Veremeyenko
<verem@m1stereo.tv>
Sun, 19 Jun 2011 14:50:34 +0000 (17:50 +0300)
committer
Maksym Veremeyenko
<verem@m1stereo.tv>
Sun, 19 Jun 2011 14:50:34 +0000 (17:50 +0300)
src/ui.c
patch
|
blob
|
history
diff --git
a/src/ui.c
b/src/ui.c
index
a4ac024
..
bdd95b0
100644
(file)
--- a/
src/ui.c
+++ b/
src/ui.c
@@
-131,7
+131,7
@@
static GtkWidget* create_treeview(GtkWidget* top, char* name, const column_desc_
for(i = 0, count = 0; columns[i].title; i++, count++)
list_store_types[i] = (columns[i].type == G_TYPE_OBJECT)?GDK_TYPE_PIXBUF:columns[i].type;
- list_store_types[count + 1] = G_TYPE_INT;
+ list_store_types[count] = G_TYPE_INT;
list_store = gtk_list_store_newv(count + 1, list_store_types);