[anjuta] symbol-db: bgo#622529 - Crash when trying to open a non-writable project



commit 8160e21a8e85408daa982bef1c28ad90456dcbc9
Author: Massimo Corà <mcora src gnome org>
Date:   Mon Aug 9 00:32:13 2010 +0200

    symbol-db: bgo#622529 - Crash when trying to open a non-writable project
    
    Avoid crash. Warnings still appear anyway.

 plugins/symbol-db/plugin.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/symbol-db/plugin.c b/plugins/symbol-db/plugin.c
index 0ab5a2c..5849982 100644
--- a/plugins/symbol-db/plugin.c
+++ b/plugins/symbol-db/plugin.c
@@ -1657,7 +1657,7 @@ on_project_root_added (AnjutaPlugin *plugin, const gchar *name,
 		switch (open_status)
 		{
 			case DB_OPEN_STATUS_FATAL:
-				g_error ("*** Error in opening db ***");
+				g_warning ("*** Error in opening db ***");
 				return;
 				
 			case DB_OPEN_STATUS_NORMAL:



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