anjuta r4100 - in trunk: . plugins/sourceview



Author: jhs
Date: Tue Jul 29 21:09:14 2008
New Revision: 4100
URL: http://svn.gnome.org/viewvc/anjuta?rev=4100&view=rev

Log:
2008-07-29  Johannes Schmid  <jhs gnome org>

	* plugins/sourceview/sourceview.c (ieditor_goto_line):
	#544841 â Cursor set on a wrong line when I click

Modified:
   trunk/ChangeLog
   trunk/plugins/sourceview/sourceview.c

Modified: trunk/plugins/sourceview/sourceview.c
==============================================================================
--- trunk/plugins/sourceview/sourceview.c	(original)
+++ trunk/plugins/sourceview/sourceview.c	Tue Jul 29 21:09:14 2008
@@ -757,7 +757,7 @@
 		gtk_widget_grab_focus (GTK_WIDGET (sv->priv->view));
 	}
 	else
-		sv->priv->goto_line = line;
+		sv->priv->goto_line = LOCATION_TO_LINE (line);
 }
 
 /* Scroll to position */



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