Skip to content

Commit

Permalink
shiosyakeyakini-info#538 のマージによる問題の修正
Browse files Browse the repository at this point in the history
  • Loading branch information
Npepperlinux committed Jun 24, 2024
1 parent 5e92d96 commit cea04d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion linux/my_application.cc
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ static void my_application_activate(GApplication* application) {
g_autoptr(FlDartProject) project = fl_dart_project_new();
gtk_window_set_icon_from_file(window, g_strconcat(fl_dart_project_get_assets_path(project), "/assets/images/icon.png", NULL), NULL);
gtk_window_set_default_size(window, 400, 700);
gtk_widget_realize(GTK_WIDGET(window));
gtk_widget_show(GTK_WIDGET(window));

fl_dart_project_set_dart_entrypoint_arguments(project, self->dart_entrypoint_arguments);

Expand Down
2 changes: 1 addition & 1 deletion windows/runner/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
FlutterWindow window(project);
Win32Window::Point origin(10, 10);
Win32Window::Size size(400, 700);
if (!window.CreateAndShow(L"miria", origin, size)) {
if (!window.Create(L"miria", origin, size)) {
return EXIT_FAILURE;
}
window.SetQuitOnClose(true);
Expand Down

0 comments on commit cea04d2

Please sign in to comment.