fix: Libhandy windows

This commit is contained in:
Krille Fear 2022-12-24 09:37:12 +01:00
parent 56b3297610
commit b21ab55451
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_window_set_default_size(window, 864, 600);
gtk_widget_show(GTK_WIDGET(window));
g_autoptr(FlDartProject) project = fl_dart_project_new(); g_autoptr(FlDartProject) project = fl_dart_project_new();
fl_dart_project_set_dart_entrypoint_arguments(project, self->dart_entrypoint_arguments); fl_dart_project_set_dart_entrypoint_arguments(project, self->dart_entrypoint_arguments);
FlView* view = fl_view_new(project); FlView* view = fl_view_new(project);
gtk_widget_show(GTK_WIDGET(view));
gtk_container_add(GTK_CONTAINER(window), GTK_WIDGET(view)); gtk_container_add(GTK_CONTAINER(window), GTK_WIDGET(view));
fl_register_plugins(FL_PLUGIN_REGISTRY(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)); gtk_widget_grab_focus(GTK_WIDGET(view));
} }

View File

@ -755,7 +755,7 @@ packages:
name: handy_window name: handy_window
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.1.6" version: "0.1.9"
highlight: highlight:
dependency: transitive dependency: transitive
description: description:

View File

@ -51,7 +51,7 @@ dependencies:
git: https://github.com/radzio-it/flutter-webrtc.git git: https://github.com/radzio-it/flutter-webrtc.git
future_loading_dialog: ^0.2.3 future_loading_dialog: ^0.2.3
geolocator: ^7.6.2 geolocator: ^7.6.2
handy_window: ^0.1.6 handy_window: ^0.1.9
hive: ^2.2.3 hive: ^2.2.3
hive_flutter: ^1.1.0 hive_flutter: ^1.1.0
http: ^0.13.4 http: ^0.13.4