[gnome-builder] plugins/gradle: fix gradle async task data
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] plugins/gradle: fix gradle async task data
- Date: Fri, 15 Jul 2022 17:03:04 +0000 (UTC)
commit b3d9a41c177a79ca44f42143718b3588ae7dfa3a
Author: Christian Hergert <chergert redhat com>
Date: Fri Jul 15 10:02:47 2022 -0700
plugins/gradle: fix gradle async task data
Fixes #1715
src/plugins/gradle/gbp-gradle-run-command-provider.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/plugins/gradle/gbp-gradle-run-command-provider.c
b/src/plugins/gradle/gbp-gradle-run-command-provider.c
index 264301a6e..4a883265c 100644
--- a/src/plugins/gradle/gbp-gradle-run-command-provider.c
+++ b/src/plugins/gradle/gbp-gradle-run-command-provider.c
@@ -186,7 +186,7 @@ gbp_gradle_run_command_provider_list_commands_async (IdeRunCommandProvider *prov
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]