summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
new file mode 100644
index 0000000..90e629d
--- /dev/null
+++ b/src/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 );
+} \ No newline at end of file