mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
15 lines
509 B
C++
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);
|
|
}
|