/* PSPPIRE - a graphical user interface for PSPP.
- Copyright (C) 2007 Free Software Foundation
+ Copyright (C) 2007, 2012 Free Software Foundation
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
list = gtk_list_store_new (N_CHECKBOX_COLUMNS,
G_TYPE_STRING, G_TYPE_BOOLEAN);
- gtk_tree_view_set_model (GTK_TREE_VIEW (treeview), GTK_TREE_MODEL (list));
for (i = 0; i < n_items; i++)
{
(default_items & (1u << i)) != 0,
-1);
}
+
+ gtk_tree_view_set_model (GTK_TREE_VIEW (treeview), GTK_TREE_MODEL (list));
+ g_object_unref (list);
}
static void