anjuta r4602 - in trunk: . plugins/language-support-cpp-java
- From: mcora svn gnome org
- To: svn-commits-list gnome org
- Subject: anjuta r4602 - in trunk: . plugins/language-support-cpp-java
- Date: Sat, 17 Jan 2009 15:12:12 +0000 (UTC)
Author: mcora
Date: Sat Jan 17 15:12:12 2009
New Revision: 4602
URL: http://svn.gnome.org/viewvc/anjuta?rev=4602&view=rev
Log:
* plugins/language-support-cpp-java/cpp-java-assist.c
(cpp_java_assist_show_calltip):
#568020 â critical warning on bracket completion
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 17 15:12:12 2009
@@ -715,8 +715,10 @@
call_context, FALSE, TRUE, FALSE,
max_completions, -1, NULL);
tips = g_list_concat (tips, cpp_java_assist_create_calltips (iter_project));
- g_object_unref (iter_global);
- g_object_unref (iter_project);
+ if (iter_global)
+ g_object_unref (iter_global);
+ if (iter_project)
+ g_object_unref (iter_project);
if (tips)
{
/* Calculate calltip offset from context offset */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]