[vala] codegen: More use of delegate_target_type and delegate_target_destroy_type (2)
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] codegen: More use of delegate_target_type and delegate_target_destroy_type (2)
- Date: Fri, 23 Oct 2020 13:41:42 +0000 (UTC)
commit a74d7ac29f2fd0717fafd2f126c586b9b63dc71c
Author: Jeremy Philippe <jeremy philippe gmail com>
Date: Fri Oct 23 15:40:18 2020 +0200
codegen: More use of delegate_target_type and delegate_target_destroy_type (2)
codegen/valaccodemethodcallmodule.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/codegen/valaccodemethodcallmodule.vala b/codegen/valaccodemethodcallmodule.vala
index 09c1ccb17..2d10ad046 100644
--- a/codegen/valaccodemethodcallmodule.vala
+++ b/codegen/valaccodemethodcallmodule.vala
@@ -636,7 +636,7 @@ public class Vala.CCodeMethodCallModule : CCodeAssignmentModule {
set_delegate_target (expr, temp_ref);
if (deleg_type.is_disposable ()) {
- temp_var = get_temp_variable (delegate_target_type, true, null, true);
+ temp_var = get_temp_variable (delegate_target_destroy_type, true,
null, true);
temp_ref = get_variable_cexpression (temp_var.name);
emit_temp_var (temp_var);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]