[anjuta] project-manager: Fix bgo#723452 - Critical warnings when closing Anjuta window if multiple windows a



commit cf2a8ff7b20130cc2d96aeafe154eb3139c61af6
Author: Sébastien Granjoux <seb sfo free fr>
Date:   Mon Feb 10 23:07:02 2014 +0100

    project-manager: Fix bgo#723452 - Critical warnings when closing Anjuta window if multiple windows are 
open

 plugins/project-manager/plugin.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plugins/project-manager/plugin.c b/plugins/project-manager/plugin.c
index 7112b22..3fdf95d 100644
--- a/plugins/project-manager/plugin.c
+++ b/plugins/project-manager/plugin.c
@@ -1494,6 +1494,7 @@ on_profile_descoped (AnjutaProfile *profile, ProjectManagerPlugin *plugin)
        if (plugin->project_file) g_object_unref (plugin->project_file);
        plugin->project_file = NULL;
        plugin->project_root_uri = NULL;
+       plugin->profile = NULL;
 
        update_title (ANJUTA_PLUGIN_PROJECT_MANAGER (plugin), NULL);
        anjuta_shell_remove_value (ANJUTA_PLUGIN (plugin)->shell,


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