[anjuta] sourceview: bgo#601750 - Tooltip evaluation doesn't respects mouse position



commit e2557857059310940266bfe59dc6defae223d72f
Author: Johannes Schmid <jhs gnome org>
Date:   Wed Jan 20 20:51:07 2010 +0100

    sourceview: bgo#601750 -  Tooltip evaluation doesn't respects mouse position

 plugins/sourceview/sourceview.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/sourceview/sourceview.c b/plugins/sourceview/sourceview.c
index 378d246..1b0fed6 100644
--- a/plugins/sourceview/sourceview.c
+++ b/plugins/sourceview/sourceview.c
@@ -2335,7 +2335,7 @@ on_sourceview_hover_over (GtkWidget *widget, gint x, gint y,
 	GtkTextView *text_view = GTK_TEXT_VIEW (widget);
 	gint bx, by;
 		
-	gtk_text_view_window_to_buffer_coords (text_view, GTK_TEXT_WINDOW_TEXT,
+	gtk_text_view_window_to_buffer_coords (text_view, GTK_TEXT_WINDOW_WIDGET,
 											   x, y, &bx, &by);
 	gtk_text_view_get_iter_at_location (text_view, &iter, bx, by);
 	



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