diff --git a/linux.sh b/linux.sh old mode 100644 new mode 100755 diff --git a/linux/my_application.cc b/linux/my_application.cc index 0a19d747..3948199c 100644 --- a/linux/my_application.cc +++ b/linux/my_application.cc @@ -48,7 +48,8 @@ static void my_application_activate(GApplication* application) { } gtk_window_set_default_size(window, 1280, 720); - gtk_widget_realize(GTK_WIDGET(window)); +// gtk_widget_realize(GTK_WIDGET(window)); + gtk_widget_show(GTK_WIDGET(window)); g_autoptr(FlDartProject) project = fl_dart_project_new(); fl_dart_project_set_dart_entrypoint_arguments(project, self->dart_entrypoint_arguments);