[anjuta] Remove unused char_alignment parameter in ianjuta_editor_tip_show



commit 6078bca255e8fd4b62a39d16e211b0c8c8e2a992
Author: Sébastien Granjoux <seb sfo free fr>
Date:   Sun Mar 7 11:47:04 2010 +0100

    Remove unused char_alignment parameter in ianjuta_editor_tip_show

 libanjuta/interfaces/libanjuta.idl                 |    6 +++---
 .../language-support-cpp-java/cpp-java-assist.c    |    4 ++--
 plugins/language-support-js/plugin.c               |    2 +-
 plugins/sourceview/sourceview.c                    |    2 +-
 4 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/libanjuta/interfaces/libanjuta.idl b/libanjuta/interfaces/libanjuta.idl
index 143ae6b..f5a67ce 100644
--- a/libanjuta/interfaces/libanjuta.idl
+++ b/libanjuta/interfaces/libanjuta.idl
@@ -1937,18 +1937,18 @@ interface IAnjutaEditor
 		 * ianjuta_editor_tip_show:
 		 * @obj: Self
 		 * @tips: list of alternative tips.
-		 * @char_alignment: Character alignment.
+		 * @position: Tip position.
 		 * @err: Error propagation and reporting
 		 *
 		 * Show tips showing more information on current context. No user feedback
-		 * is required when tips are shown. @char_alignment indicates
+		 * is required when tips are shown. @position indicates
 		 * the position before which is the known context and after which are
 		 * the suggestions. Usually the editor would use this to
 		 * align the choices displayed such that the carat is just at this
 		 * position when the choices are displayed.
 		 *
 		 */
-		void show (List<const gchar*> tips, IAnjutaIterable *position, gint char_alignment);
+		void show (List<const gchar*> tips, IAnjutaIterable *position);
 		
 		/**
 		 * ianjuta_editor_tip_cancel
diff --git a/plugins/language-support-cpp-java/cpp-java-assist.c b/plugins/language-support-cpp-java/cpp-java-assist.c
index da8fe76..8873e07 100644
--- a/plugins/language-support-cpp-java/cpp-java-assist.c
+++ b/plugins/language-support-cpp-java/cpp-java-assist.c
@@ -810,7 +810,7 @@ on_calltip_search_complete (gint search_id, IAnjutaIterable* symbols, CppJavaAss
 	if (!running && assist->priv->tips)
 	{
 		ianjuta_editor_tip_show (IANJUTA_EDITOR_TIP(assist->priv->itip), assist->priv->tips,
-		                         assist->priv->calltip_iter, 0,
+		                         assist->priv->calltip_iter,
 		                         NULL);
 	}
 	g_object_unref (symbols);
@@ -1140,7 +1140,7 @@ cpp_java_assist_calltip (CppJavaAssist *assist)
 				{
 					ianjuta_editor_tip_show (IANJUTA_EDITOR_TIP (editor),
 					                         assist->priv->tips,
-					                         assist->priv->calltip_iter, 0, NULL);
+					                         assist->priv->calltip_iter, NULL);
 				}
 			}
 			g_free (call_context);
diff --git a/plugins/language-support-js/plugin.c b/plugins/language-support-js/plugin.c
index b381df9..827b83f 100644
--- a/plugins/language-support-js/plugin.c
+++ b/plugins/language-support-js/plugin.c
@@ -382,7 +382,7 @@ iprovider_activate (IAnjutaProvider *obj, IAnjutaIterable* iter,  gpointer data,
 			if (args)
 			{
 				ianjuta_editor_tip_show (IANJUTA_EDITOR_TIP(plugin->current_editor), t,
-							 position, 1, NULL);
+							 position, NULL);
 
 				g_free (args);
 			}*/
diff --git a/plugins/sourceview/sourceview.c b/plugins/sourceview/sourceview.c
index 1b0fed6..d94fd75 100644
--- a/plugins/sourceview/sourceview.c
+++ b/plugins/sourceview/sourceview.c
@@ -2007,7 +2007,7 @@ ilanguage_iface_init (IAnjutaEditorLanguageIface *iface)
 
 static void 
 itips_show (IAnjutaEditorTip *iassist, GList* tips, IAnjutaIterable* ipos,
-            gint char_alignment, GError **err)
+            GError **err)
 {
 	Sourceview* sv = ANJUTA_SOURCEVIEW(iassist);
 	SourceviewCell* cell = SOURCEVIEW_CELL (ipos);



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