[gnome-builder] plugins/maven: fix maven async task data



commit 8dfab62dc7c476665b72fe2c15d187c3899e7bd2
Author: Christian Hergert <chergert redhat com>
Date:   Fri Jul 15 10:02:37 2022 -0700

    plugins/maven: fix maven async task data
    
    Fixes #1715

 src/plugins/maven/gbp-maven-run-command-provider.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/plugins/maven/gbp-maven-run-command-provider.c 
b/src/plugins/maven/gbp-maven-run-command-provider.c
index afc9aa4f5..5c550bfa8 100644
--- a/src/plugins/maven/gbp-maven-run-command-provider.c
+++ b/src/plugins/maven/gbp-maven-run-command-provider.c
@@ -213,7 +213,7 @@ gbp_maven_run_command_provider_list_commands_async (IdeRunCommandProvider *provi
   ide_g_file_find_with_depth_async (testdir, "*.java", 5,
                                     NULL,
                                     find_test_files_cb,
-                                    g_object_ref (provider));
+                                    g_steal_pointer (&task));
 
   IDE_EXIT;
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]