~ubuntu-branches/ubuntu/vivid/gbonds/vivid

« back to all changes in this revision

Viewing changes to src/table.c

  • Committer: Bazaar Package Importer
  • Author(s): Richard Laager
  • Date: 2007-03-14 23:50:34 UTC
  • Revision ID: james.westby@ubuntu.com-20070314235034-997qegw33jx0wb9r
Tags: upstream-2.0.2
ImportĀ upstreamĀ versionĀ 2.0.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *  (GBONDS) GNOME based Savings Bond Inventory Program
 
3
 *
 
4
 *  table.c:  gbonds redemption table module
 
5
 *
 
6
 *  Copyright (C) 2001-2003  Jim Evins <evins@snaught.com>.
 
7
 *
 
8
 *  This program is free software; you can redistribute it and/or modify
 
9
 *  it under the terms of the GNU General Public License as published by
 
10
 *  the Free Software Foundation; either version 2 of the License, or
 
11
 *  (at your option) any later version.
 
12
 *
 
13
 *  This program is distributed in the hope that it will be useful,
 
14
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
15
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
16
 *  GNU General Public License for more details.
 
17
 *
 
18
 *  You should have received a copy of the GNU General Public License
 
19
 *  along with this program; if not, write to the Free Software
 
20
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 
21
 */
 
22
#include <config.h>
 
23
 
 
24
 
 
25
#include "table.h"
 
26
 
 
27
#include "debug.h"
 
28
 
 
29
static gbTableModel *model;
 
30
 
 
31
 
 
32
gbTableModel *
 
33
gb_table_get_model (void)
 
34
{
 
35
        return model;
 
36
}
 
37
 
 
38
void
 
39
gb_table_init (void)
 
40
{
 
41
        gb_debug (DEBUG_TABLE, "BEGIN");
 
42
 
 
43
        model = GB_TABLE_MODEL (gb_table_model_new ());
 
44
 
 
45
        gb_debug (DEBUG_TABLE, "END");
 
46
}