/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: 2014-06-08 11:00:33 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20140608110033-e4xsc2ce6dwc00my
* Started work on porting the code to GJS

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
 
  gint ret_val = g_application_run (G_APPLICATION (app), argc, argv);
19
 
  g_print ("First unref\n");
20
 
  g_object_unref (app);
21
 
  g_print ("Second unref\n");
22
 
  g_object_unref (app);
23
 
  g_print ("Third unref\n");
24
 
  g_object_unref (app);
25
 
  g_print ("Derp!\n");
26
 
  return ret_val;
27
 
}