flutter/dev/integration_tests/flutter_gallery/linux/main.cc
Jonah Williams 14722d3166
[gallery] add linux and windows files to gallery example (#66736)
Check in linux and windows platform code now that they are stable, so that we could use in devicelab in the future. Removed the ICO from the windows example to avoid analysis check, and since it won't be important for benchmarking or UI tests
2020-09-28 10:07:35 -07:00

11 lines
344 B
C++

#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);
}