]>
Dogcows Code - chaz/homebank/blob - src/list_topspending.c
1 /* HomeBank -- Free, easy, personal accounting for everyone.
2 * Copyright (C) 1995-2017 Maxime DOYEN
4 * This file is part of HomeBank.
6 * HomeBank is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * HomeBank is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
23 #include "list_topspending.h"
25 /****************************************************************************/
27 /****************************************************************************/
36 /* our global datas */
37 extern struct HomeBank
*GLOBALS
;
38 extern struct Preferences
*PREFS
;
40 GtkWidget
*create_list_topspending(void)
45 /* create list store */
46 store
= gtk_list_store_new(
50 G_TYPE_STRING
, //category
51 G_TYPE_DOUBLE
, //amount
56 view
= gtk_tree_view_new_with_model(GTK_TREE_MODEL(store
));
57 g_object_unref(store
);
This page took 0.040115 seconds and 5 git commands to generate.