[anjuta] various plugins: Adapt to IAnjutaMarkable interface changes



commit 9a86d47a8f72d5f79adab00b8a76a496b849a288
Author: Johannes Schmid <jhs gnome org>
Date:   Wed Nov 24 16:51:42 2010 +0100

    various plugins: Adapt to IAnjutaMarkable interface changes

 plugins/debug-manager/breakpoints.c         |    2 +-
 plugins/debug-manager/plugin.c              |    2 +-
 plugins/document-manager/anjuta-bookmarks.c |    4 ++--
 plugins/document-manager/anjuta-docman.c    |    2 +-
 plugins/symbol-db/symbol-db-views.c         |    2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/plugins/debug-manager/breakpoints.c b/plugins/debug-manager/breakpoints.c
index 8d36e27..462479d 100644
--- a/plugins/debug-manager/breakpoints.c
+++ b/plugins/debug-manager/breakpoints.c
@@ -380,7 +380,7 @@ breakpoints_dbase_set_in_editor (BreakpointsDBase *bd, BreakpointItem *bi)
 	}
 	
 	/* Add new mark */
-	bi->handle = ianjuta_markable_mark (ed, line, bi->bp.enable ? BREAKPOINT_ENABLED : BREAKPOINT_DISABLED, NULL);
+	bi->handle = ianjuta_markable_mark (ed, line, bi->bp.enable ? BREAKPOINT_ENABLED : BREAKPOINT_DISABLED, NULL, NULL);
 }
 
 static void
diff --git a/plugins/debug-manager/plugin.c b/plugins/debug-manager/plugin.c
index f1c3bdc..baa4fc4 100644
--- a/plugins/debug-manager/plugin.c
+++ b/plugins/debug-manager/plugin.c
@@ -157,7 +157,7 @@ show_program_counter_in_editor(DebugManagerPlugin *self)
 	{
 		if (IANJUTA_IS_MARKABLE (editor))
 		{
-			ianjuta_markable_mark(IANJUTA_MARKABLE (editor), self->pc_line, IANJUTA_MARKABLE_PROGRAM_COUNTER, NULL);
+			ianjuta_markable_mark(IANJUTA_MARKABLE (editor), self->pc_line, IANJUTA_MARKABLE_PROGRAM_COUNTER, NULL, NULL);
 		}
 		if (IANJUTA_IS_INDICABLE(editor))
 		{
diff --git a/plugins/document-manager/anjuta-bookmarks.c b/plugins/document-manager/anjuta-bookmarks.c
index e8dd9d4..41142e5 100644
--- a/plugins/document-manager/anjuta-bookmarks.c
+++ b/plugins/document-manager/anjuta-bookmarks.c
@@ -222,7 +222,7 @@ on_document_added (AnjutaDocman* docman, IAnjutaDocument* doc,
 			{
 				int handle = ianjuta_markable_mark (markable, line,
 												   IANJUTA_MARKABLE_BOOKMARK,
-												   NULL);
+												   NULL, NULL);
 				gtk_list_store_set (GTK_LIST_STORE(priv->model),
 									&iter,
 									COLUMN_HANDLE,
@@ -492,7 +492,7 @@ anjuta_bookmarks_add (AnjutaBookmarks* bookmarks, IAnjutaEditor* editor, gint li
 	if (ianjuta_markable_is_marker_set (markable, line, IANJUTA_MARKABLE_BOOKMARK, NULL))
 		return;
 	
-	handle = ianjuta_markable_mark (markable, line, IANJUTA_MARKABLE_BOOKMARK, NULL);
+	handle = ianjuta_markable_mark (markable, line, IANJUTA_MARKABLE_BOOKMARK, NULL, NULL);
 	
 	gtk_list_store_append (GTK_LIST_STORE(priv->model), &iter);
 	if (title == NULL)
diff --git a/plugins/document-manager/anjuta-docman.c b/plugins/document-manager/anjuta-docman.c
index 1dac5a4..adfe5f4 100644
--- a/plugins/document-manager/anjuta-docman.c
+++ b/plugins/document-manager/anjuta-docman.c
@@ -1320,7 +1320,7 @@ anjuta_docman_goto_file_line_mark (AnjutaDocman *docman, GFile* file,
 													IANJUTA_MARKABLE_LINEMARKER,
 													NULL);
 				ianjuta_markable_mark (IANJUTA_MARKABLE (doc), line,
-									  IANJUTA_MARKABLE_LINEMARKER, NULL);
+									  IANJUTA_MARKABLE_LINEMARKER, NULL, NULL);
 			}
 		}
 	}
diff --git a/plugins/symbol-db/symbol-db-views.c b/plugins/symbol-db/symbol-db-views.c
index f961179..d470f5e 100644
--- a/plugins/symbol-db/symbol-db-views.c
+++ b/plugins/symbol-db/symbol-db-views.c
@@ -68,7 +68,7 @@ on_treeview_row_activated (GtkTreeView *view, GtkTreePath *arg1,
 		                                     NULL);
 
 		ianjuta_markable_mark (IANJUTA_MARKABLE (plugin->current_editor),
-		                       line, IANJUTA_MARKABLE_LINEMARKER, NULL);
+		                       line, IANJUTA_MARKABLE_LINEMARKER, NULL, NULL);
 	}
 }
 



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