X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fui.c;h=bdd95b061a95b0f88e88e58ddc8f2b4195f1e4c3;hb=f39680e42b24782f65c14c18d2f05df174330af8;hp=a4ac0246a9ae65d85fd39e2f6aa1d0a4e1016907;hpb=542e0abd65b0663c9cb2cb5a39e1840f493a4ba9;p=melted_gui diff --git a/src/ui.c b/src/ui.c index a4ac024..bdd95b0 100644 --- 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);