anjuta r4718 - in trunk: . plugins/symbol-db
- From: mcora svn gnome org
- To: svn-commits-list gnome org
- Subject: anjuta r4718 - in trunk: . plugins/symbol-db
- Date: Mon, 9 Feb 2009 19:45:30 +0000 (UTC)
Author: mcora
Date: Mon Feb 9 19:45:30 2009
New Revision: 4718
URL: http://svn.gnome.org/viewvc/anjuta?rev=4718&view=rev
Log:
* plugins/symbol-db/plugin.c (isymbol_manager_search_system),
(isymbol_manager_search_project), (isymbol_manager_search_file):
some assertions to prevent a NULL pattern to be passed to SymbolManager
interface.
Modified:
trunk/ChangeLog
trunk/plugins/symbol-db/plugin.c
Modified: trunk/plugins/symbol-db/plugin.c
==============================================================================
--- trunk/plugins/symbol-db/plugin.c (original)
+++ trunk/plugins/symbol-db/plugin.c Mon Feb 9 19:45:30 2009
@@ -2781,6 +2781,7 @@
SymbolDBEngineIterator *iterator;
gboolean exact_match;
GPtrArray *filter_array;
+ g_return_val_if_fail (pattern != NULL, NULL);
sdb_plugin = ANJUTA_PLUGIN_SYMBOL_DB (sm);
dbe = SYMBOL_DB_ENGINE (sdb_plugin->sdbe_globals);
@@ -2823,6 +2824,8 @@
gboolean exact_match;
GPtrArray *filter_array;
+ g_return_val_if_fail (pattern != NULL, NULL);
+
sdb_plugin = ANJUTA_PLUGIN_SYMBOL_DB (sm);
dbe = SYMBOL_DB_ENGINE (sdb_plugin->sdbe_project);
@@ -2864,6 +2867,8 @@
GPtrArray *filter_array;
gchar *abs_file_path;
+ g_return_val_if_fail (pattern != NULL, NULL);
+
sdb_plugin = ANJUTA_PLUGIN_SYMBOL_DB (sm);
dbe = SYMBOL_DB_ENGINE (sdb_plugin->sdbe_project);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]