[anjuta/gnome-2-30] language-support-cpp-java: bgo#618314 - Anjuta crash on while editing



commit c384b4fc2675ee0043aa0e9c3c9541f00e701c3c
Author: Johannes Schmid <jhs gnome org>
Date:   Fri May 14 10:52:22 2010 +0200

    language-support-cpp-java: bgo#618314  - Anjuta crash on while editing

 .../language-support-cpp-java/cpp-java-assist.c    |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/plugins/language-support-cpp-java/cpp-java-assist.c b/plugins/language-support-cpp-java/cpp-java-assist.c
index 7dc6b4a..99fbe3e 100644
--- a/plugins/language-support-cpp-java/cpp-java-assist.c
+++ b/plugins/language-support-cpp-java/cpp-java-assist.c
@@ -1440,13 +1440,7 @@ cpp_java_assist_finalize (GObject *object)
 	CppJavaAssist *assist = CPP_JAVA_ASSIST (object);
 	cpp_java_assist_uninstall (assist);
 	cpp_java_assist_clear_completion_cache (assist);
-#if 0
-	if (assist->priv->calltip_context)
-	{
-		g_free (assist->priv->calltip_context);
-		assist->priv->calltip_context = NULL;
-	}
-#endif
+	cpp_java_assist_clear_calltip_context (assist);
 	g_object_unref (assist->priv->cancel_calltip_file);
 	g_object_unref (assist->priv->cancel_calltip_project);
 	g_object_unref (assist->priv->cancel_calltip_system);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]