[gnome-builder/wip/gtk4-port] plugins/cargo: fix incorrect assertion



commit f377cdbac5adfe37c54ca3a90b77c3f65be550c8
Author: Christian Hergert <chergert redhat com>
Date:   Fri May 27 11:36:15 2022 -0700

    plugins/cargo: fix incorrect assertion

 src/plugins/cargo/gbp-cargo-dependency-updater.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/plugins/cargo/gbp-cargo-dependency-updater.c 
b/src/plugins/cargo/gbp-cargo-dependency-updater.c
index 48efb6adc..acc3ea9de 100644
--- a/src/plugins/cargo/gbp-cargo-dependency-updater.c
+++ b/src/plugins/cargo/gbp-cargo-dependency-updater.c
@@ -140,7 +140,7 @@ gbp_cargo_dependency_updater_update_finish (IdeDependencyUpdater  *updater,
 
   IDE_ENTRY;
 
-  g_assert (GBP_IS_CARGO_BUILD_SYSTEM (updater));
+  g_assert (GBP_IS_CARGO_DEPENDENCY_UPDATER (updater));
   g_assert (IDE_IS_TASK (result));
 
   ret = ide_task_propagate_boolean (IDE_TASK (result), error);


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