Add simple desktop app

This commit is contained in:
Elias Projahn 2020-07-18 11:58:03 +02:00
parent 5312bad52d
commit 4bdd1873c4
17 changed files with 540 additions and 1 deletions

10
desktop/linux/main.cc Normal file
View file

@ -0,0 +1,10 @@
#include "my_application.h"
int main(int argc, char** argv) {
// Only X11 is currently supported.
// Wayland support is being developed: https://github.com/flutter/flutter/issues/57932.
gdk_set_allowed_backends("x11");
g_autoptr(MyApplication) app = my_application_new();
return g_application_run(G_APPLICATION(app), argc, argv);
}