main.cc 344 Bytes
Newer Older
1
#include "my_application.h"
2

3
int main(int argc, char** argv) {
4 5 6 7
  // Only X11 is currently supported.
  // Wayland support is being developed: https://github.com/flutter/flutter/issues/57932.
  gdk_set_allowed_backends("x11");

8 9
  g_autoptr(MyApplication) app = my_application_new();
  return g_application_run(G_APPLICATION(app), argc, argv);
10
}