flutter/dev/integration_tests/flutter_gallery/linux/main.cc
Michael Goderbauer 42f61b32c5
Check cc files (#123704)
Check cc files
2023-03-29 18:40:58 +00:00

15 lines
509 B
C++

// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#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);
}