From a710c384bbe6ed357c41781be096746eb7e83b28 Mon Sep 17 00:00:00 2001 From: Prateek Sunal Date: Mon, 19 Feb 2024 19:26:39 +0530 Subject: [PATCH] fix: error --- linux/my_application.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux/my_application.cc b/linux/my_application.cc index 8c0b3f6b8..61143430b 100644 --- a/linux/my_application.cc +++ b/linux/my_application.cc @@ -69,7 +69,7 @@ static void my_application_activate(GApplication *application) fl_dart_project_set_dart_entrypoint_arguments(project, self->dart_entrypoint_arguments); FlView *view = fl_view_new(project); - gtk_widget_show(GTK_WIDGET(window)); + gtk_widget_realize(GTK_WIDGET(view)); gtk_container_add(GTK_CONTAINER(window), GTK_WIDGET(view)); fl_register_plugins(FL_PLUGIN_REGISTRY(view));