[gitg] Fix getting iter at location
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg] Fix getting iter at location
- Date: Sun, 20 Dec 2015 18:40:48 +0000 (UTC)
commit 17c3d47e0bb8db0965d5e7f776fc71c33fe73d96
Author: Jesse van den Kieboom <jessevdk gnome org>
Date: Sun Dec 20 19:40:13 2015 +0100
Fix getting iter at location
libgitg/gitg-diff-view-file-selectable.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgitg/gitg-diff-view-file-selectable.vala b/libgitg/gitg-diff-view-file-selectable.vala
index 83653b4..8399c74 100644
--- a/libgitg/gitg-diff-view-file-selectable.vala
+++ b/libgitg/gitg-diff-view-file-selectable.vala
@@ -278,7 +278,7 @@ class Gitg.DiffViewFileSelectable : Object
int win_x, win_y;
source_view.window_to_buffer_coords(Gtk.TextWindowType.TEXT, x, y, out win_x, out win_y);
- source_view.get_iter_at_location(out iter, win_x, win_y);
+ source_view.get_line_at_y(out iter, win_y, null);
return true;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]