~ubuntu-branches/ubuntu/oneiric/gpe-expenses/oneiric

« back to all changes in this revision

Viewing changes to src/gpe-expenses.c

  • Committer: Bazaar Package Importer
  • Author(s): Neil Williams
  • Date: 2008-06-26 15:50:11 UTC
  • mfrom: (1.1.5 upstream) (3.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080626155011-wkgm1x0fuwji835d
Tags: 0.1.6-1
* New upstream release
* [gpe-expenses] simplified chinese(zh_CN) translation of gpe-expenses
  (Closes: #479369)
* [libqofexpensesobjects0] simplified chinese(zh_CN) translation of
  qofexpensesobjects (Closes: #479370)
* [INTL:fr] French translation of gpe-expenses 
  (Closes: #480479)
* [INTL:fr] French translation of libqofexpensesobjects0 
  (Closes: #480482)
* [INTL:ru] Russian program translation of gpe-expenses 
  (Closes: #481386)
* [INTL:ru] Russian program translation of libqofexpensesobjects 
  (Closes: #481386)
* Upgrade intltool dependency and standards version
* Includes support for creating GPE categories (Closes: #479395)
* Expand debian/xcontrol for smoother cross-build support
* update debian/copyright after upstream inclusion of some gpe-
  contacts code

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
{
86
86
        qof_main_free(&context->qof);
87
87
        qof_close();
88
 
        if(context->category_list)
89
 
                g_list_free(context->category_list);
90
88
        g_free(context);
91
89
}
92
90
 
120
118
                        "/", SQLITE_DIR, NULL);
121
119
                gpe_home_exists = g_file_test (context->qof.write_file, G_FILE_TEST_IS_DIR);
122
120
                if (!gpe_home_exists)
123
 
                        test = g_mkdir (context->qof.write_file, 0700);         
 
121
                        test = g_mkdir (context->qof.write_file, 0700);
124
122
                g_free (context->qof.write_file);
125
123
                context->qof.write_file = g_strconcat (ACCESS_METHOD, 
126
124
                        ":", g_get_home_dir(), "/", SQLITE_DIR, DEFAULT_FILE, NULL);
219
217
                return EXIT_FAILURE;
220
218
        }
221
219
        gpe_expense_context = gpe_expense_init();
 
220
        g_return_val_if_fail (gpe_expense_context, 1);
222
221
        while ((optc = poptGetNextOpt (pc)) >= 0)
223
222
        {
224
223
                switch (optc)