mirror of
https://github.com/flutter/flutter
synced 2024-10-12 19:23:02 +00:00
14722d3166
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
11 lines
344 B
C++
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);
|
|
}
|