summaryrefslogtreecommitdiff
path: root/csrc/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'csrc/main.c')
-rw-r--r--csrc/main.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/csrc/main.c b/csrc/main.c
new file mode 100644
index 0000000..acabbdc
--- /dev/null
+++ b/csrc/main.c
@@ -0,0 +1,12 @@
+#include "application.h"
+
+//
+// Entry point of the application, runs the GTK app.
+//
+int main(
+ int argc,
+ char** argv )
+{
+ g_autoptr( FoobarApplication ) app = foobar_application_new( );
+ return g_application_run( G_APPLICATION( app ), argc, argv );
+}