summaryrefslogtreecommitdiff
path: root/csrc/main.c
diff options
context:
space:
mode:
authorHannes Schulze <haschu0103@outlook.de>2025-06-19 23:17:58 +0200
committerHannes Schulze <haschu0103@outlook.de>2025-06-19 23:17:58 +0200
commit1af3d14f3f995645a0de08a54b244c19840709e9 (patch)
tree3c4098863d8a8fd004a2acc8912a23b6036ab4dd /csrc/main.c
parent40efcf60a5f39674b5137f11de7bcfe37fb121b5 (diff)
init hs project
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 );
+}