From b21ab554510d367422d889240bcadb6ecd52fc0e Mon Sep 17 00:00:00 2001 From: Krille Fear Date: Sat, 24 Dec 2022 09:37:12 +0100 Subject: [PATCH] fix: Libhandy windows --- linux/my_application.cc | 4 ++-- pubspec.lock | 2 +- pubspec.yaml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/linux/my_application.cc b/linux/my_application.cc index 88e9115e..648e5fd4 100644 --- a/linux/my_application.cc +++ b/linux/my_application.cc @@ -48,16 +48,16 @@ static void my_application_activate(GApplication* application) { } gtk_window_set_default_size(window, 864, 600); - 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); FlView* view = fl_view_new(project); - gtk_widget_show(GTK_WIDGET(view)); gtk_container_add(GTK_CONTAINER(window), GTK_WIDGET(view)); fl_register_plugins(FL_PLUGIN_REGISTRY(view)); + gtk_widget_show(GTK_WIDGET(window)); + gtk_widget_show(GTK_WIDGET(view)); gtk_widget_grab_focus(GTK_WIDGET(view)); } diff --git a/pubspec.lock b/pubspec.lock index d0201579..ab91020a 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -755,7 +755,7 @@ packages: name: handy_window url: "https://pub.dartlang.org" source: hosted - version: "0.1.6" + version: "0.1.9" highlight: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index f2f2e576..36e39699 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -51,7 +51,7 @@ dependencies: git: https://github.com/radzio-it/flutter-webrtc.git future_loading_dialog: ^0.2.3 geolocator: ^7.6.2 - handy_window: ^0.1.6 + handy_window: ^0.1.9 hive: ^2.2.3 hive_flutter: ^1.1.0 http: ^0.13.4