[anjuta] symbol-db: prevent rare crashes on project creation.
- From: Massimo Cora' <mcora src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [anjuta] symbol-db: prevent rare crashes on project creation.
- Date: Wed, 30 Dec 2009 15:31:47 +0000 (UTC)
commit 82e21b25d26b21d0b643ac0b02f52fe4b3944765
Author: Massimo Corà <mcora src gnome org>
Date: Wed Dec 30 16:27:41 2009 +0100
symbol-db: prevent rare crashes on project creation.
plugins/symbol-db/plugin.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/plugins/symbol-db/plugin.c b/plugins/symbol-db/plugin.c
index 0abb531..ed512ff 100644
--- a/plugins/symbol-db/plugin.c
+++ b/plugins/symbol-db/plugin.c
@@ -1250,7 +1250,8 @@ clear_project_progress_bar (SymbolDBEngine *dbe, gpointer data)
sdb_plugin->sdbe_project);
/* ok, enable local symbols view */
- if (!IANJUTA_IS_EDITOR (sdb_plugin->current_editor))
+ if (sdb_plugin->current_editor != NULL &&
+ IANJUTA_IS_EDITOR (sdb_plugin->current_editor) == FALSE)
{
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]