anjuta r3494 - in trunk: . plugins/language-support-cpp-java
- From: sgranjoux svn gnome org
- To: svn-commits-list gnome org
- Subject: anjuta r3494 - in trunk: . plugins/language-support-cpp-java
- Date: Sat, 19 Jan 2008 11:42:18 +0000 (GMT)
Author: sgranjoux
Date: Sat Jan 19 11:42:17 2008
New Revision: 3494
URL: http://svn.gnome.org/viewvc/anjuta?rev=3494&view=rev
Log:
* plugins/language-support-cpp-java/cpp-java-assist.c:
Fix bug #488519, remove critical warning (completion_cache == NULL
is valid)
Modified:
trunk/ChangeLog
trunk/plugins/language-support-cpp-java/cpp-java-assist.c
Modified: trunk/plugins/language-support-cpp-java/cpp-java-assist.c
==============================================================================
--- trunk/plugins/language-support-cpp-java/cpp-java-assist.c (original)
+++ trunk/plugins/language-support-cpp-java/cpp-java-assist.c Sat Jan 19 11:42:17 2008
@@ -331,8 +331,8 @@
{
gint position, max_completions, length;
GList *completion_list;
-
- g_return_val_if_fail (assist->priv->completion_cache != NULL, FALSE);
+
+ if (assist->priv->completion_cache == NULL) return FALSE;
if (pre_word)
g_completion_complete (assist->priv->completion_cache, pre_word, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]