anjuta r3996 - in branches/anjuta-2-4: . plugins/symbol-browser
- From: jhs svn gnome org
- To: svn-commits-list gnome org
- Subject: anjuta r3996 - in branches/anjuta-2-4: . plugins/symbol-browser
- Date: Mon, 9 Jun 2008 13:35:33 +0000 (UTC)
Author: jhs
Date: Mon Jun 9 13:35:33 2008
New Revision: 3996
URL: http://svn.gnome.org/viewvc/anjuta?rev=3996&view=rev
Log:
2008-06-09 Johannes Schmid <jhs gnome org>
* plugins/symbol-browser/plugin.c (project_root_removed):
Fixed #537398 â crash in Anjuta IDE: Closed project
(from trunk)
Modified:
branches/anjuta-2-4/ChangeLog
branches/anjuta-2-4/plugins/symbol-browser/plugin.c
Modified: branches/anjuta-2-4/plugins/symbol-browser/plugin.c
==============================================================================
--- branches/anjuta-2-4/plugins/symbol-browser/plugin.c (original)
+++ branches/anjuta-2-4/plugins/symbol-browser/plugin.c Mon Jun 9 13:35:33 2008
@@ -420,10 +420,12 @@
sv_plugin);
/* clear anjuta_symbol_search side */
- anjuta_symbol_search_clear(ANJUTA_SYMBOL_SEARCH(sv_plugin->ss));
+ if (sv_plugin->ss)
+ anjuta_symbol_search_clear(ANJUTA_SYMBOL_SEARCH(sv_plugin->ss));
/* clear glist's sfiles */
- anjuta_symbol_view_clear (ANJUTA_SYMBOL_VIEW (sv_plugin->sv_tree));
+ if (sv_plugin->sv_tree)
+ anjuta_symbol_view_clear (ANJUTA_SYMBOL_VIEW (sv_plugin->sv_tree));
g_free (sv_plugin->project_root_uri);
sv_plugin->project_root_uri = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]