[gnome-builder] project: disable release-on-propagate



commit b64413202bd6c149e28777527178036cf5f2c97d
Author: Christian Hergert <chergert redhat com>
Date:   Thu Jun 14 00:40:46 2018 -0700

    project: disable release-on-propagate
    
    We need access to the source object after completion, so ensure that we
    don't drop it.

 src/libide/projects/ide-project.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/libide/projects/ide-project.c b/src/libide/projects/ide-project.c
index 3d1476f6a..8565a069f 100644
--- a/src/libide/projects/ide-project.c
+++ b/src/libide/projects/ide-project.c
@@ -492,6 +492,7 @@ ide_project_rename_file_async (IdeProject          *self,
 
   task = ide_task_new (self, cancellable, callback, user_data);
   ide_task_set_source_tag (task, ide_project_rename_file_async);
+  ide_task_set_release_on_propagate (task, FALSE);
   ide_task_set_priority (task, G_PRIORITY_LOW);
 
   context = ide_object_get_context (IDE_OBJECT (self));


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