fix: Libhandy windows

This commit is contained in:
Krille Fear 2022-12-24 09:37:12 +01:00
parent ce15ca3576
commit 5f3e8791dd
3 changed files with 4 additions and 4 deletions

View file

@ -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));
}

View file

@ -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:

View file

@ -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