/gpump/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/gpump/trunk

« back to all changes in this revision

Viewing changes to src/main.c

  • Committer: Gustav Hartvigsson
  • Date: 2015-06-05 19:06:14 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20150605190614-s410mh65n2jdxtcv
* Cleaded up a lille code
* Fixed a nasty segfault that could occur if the conig folder did not exist.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* c-basic-offset: 2; tab-width: 2; indent-tabs-mode: nil
2
 
 * vi: set shiftwidth=2 tabstop=2 expandtab:
3
 
 * :indentSize=2:tabSize=2:noTabs=true:
4
 
 */
5
 
 
6
 
#include <gtk/gtk.h>
7
 
#include <gio/gio.h>
8
 
#include <rest/oauth2-proxy.h>
9
 
#include <rest/rest-proxy-call.h>
10
 
#include <stdlib.h>
11
 
#include <string.h>
12
 
 
13
 
#include "GPumpApp.h"
14
 
 
15
 
int main (int argc, char ** argv) {
16
 
  gtk_init (&argc, &argv);
17
 
  GPumpApp * app = gpump_app_new ();
18
 
  return g_application_run (G_APPLICATION (app), argc, argv);
19
 
}