[anjuta] sourceview: fix SourceviewCell implementation of ianjuta_iterable_set_position
- From: Johannes Schmid <jhs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] sourceview: fix SourceviewCell implementation of ianjuta_iterable_set_position
- Date: Wed, 3 Mar 2010 20:01:48 +0000 (UTC)
commit 8aceba4a7511b7fade45cb24ce431134dc73a023
Author: Abderrahim Kitouni <a kitouni gmail com>
Date: Thu Feb 25 17:47:47 2010 +0100
sourceview: fix SourceviewCell implementation of ianjuta_iterable_set_position
plugins/sourceview/sourceview-cell.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plugins/sourceview/sourceview-cell.c b/plugins/sourceview/sourceview-cell.c
index 2ea3ea0..ab7dcfb 100644
--- a/plugins/sourceview/sourceview-cell.c
+++ b/plugins/sourceview/sourceview-cell.c
@@ -240,6 +240,7 @@ iiter_set_position (IAnjutaIterable* iiter, gint position, GError** e)
SourceviewCell* cell = SOURCEVIEW_CELL(iiter);
GtkTextIter iter;
gtk_text_buffer_get_iter_at_mark (cell->priv->buffer, &iter, cell->priv->mark);
+ gtk_text_iter_set_offset(&iter, position);
gtk_text_buffer_move_mark (cell->priv->buffer, cell->priv->mark, &iter);
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]