summaryrefslogtreecommitdiff
path: root/ldmicro/ldmicro.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ldmicro/ldmicro.cpp')
-rw-r--r--ldmicro/ldmicro.cpp13
1 files changed, 10 insertions, 3 deletions
diff --git a/ldmicro/ldmicro.cpp b/ldmicro/ldmicro.cpp
index e803bba..955b23b 100644
--- a/ldmicro/ldmicro.cpp
+++ b/ldmicro/ldmicro.cpp
@@ -1094,6 +1094,13 @@ int main(int argc, char** argv)
exit(0);
}
+ GtkApplication *app;
+ int status;
+
+ app = gtk_application_new ("org.gtk.new", G_APPLICATION_FLAGS_NONE);
+ g_signal_connect (app, "activate", G_CALLBACK (Activate_App), NULL);
+ status = g_application_run (G_APPLICATION (app), argc, argv);
+
// /// ~~~
// Instance = hInstance; /// parent window
@@ -1175,6 +1182,6 @@ int main(int argc, char** argv)
// }
// FreezeWindowPos(MainWindow);
// FreezeDWORD(IoListHeight);
-
- return 0;
-}
+
+ return status;
+} \ No newline at end of file