gtksourceview r1843 - in trunk: . gtksourceview



Author: jjongsma
Date: Mon Jan 14 16:02:22 2008
New Revision: 1843
URL: http://svn.gnome.org/viewvc/gtksourceview?rev=1843&view=rev

Log:
2008-01-13  Jonathon Jongsma  <jjongsma gnome org>

	* gtksourceview/gtksourceview.c: sort the list of marks with lowest-priority
	marks first so that they get drawn on the bottom.  Fixes bug #509167


Modified:
   trunk/ChangeLog
   trunk/gtksourceview/gtksourceview.c

Modified: trunk/gtksourceview/gtksourceview.c
==============================================================================
--- trunk/gtksourceview/gtksourceview.c	(original)
+++ trunk/gtksourceview/gtksourceview.c	Mon Jan 14 16:02:22 2008
@@ -1134,7 +1134,7 @@
 		guint priority2 = gtk_source_view_get_mark_category_priority (view,
 						gtk_source_mark_get_category (mark2));
 
-		return priority2 - priority1;
+		return priority1 - priority2;
 	}
 	else
 	{



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