fix: error

This commit is contained in:
Prateek Sunal 2024-02-19 19:26:39 +05:30
parent b1743819e8
commit a710c384bb

View file

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