[gtksourceview] Show the priority marks first.



commit 279fe46a41017fdb5760e05839122a9516ba29a2
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Wed May 27 15:48:11 2009 +0200

    Show the priority marks first.
    
    In the tooltip mark, show the priority tooltips first.
---
 gtksourceview/gtksourceview.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/gtksourceview/gtksourceview.c b/gtksourceview/gtksourceview.c
index f73d3ea..99e94f1 100644
--- a/gtksourceview/gtksourceview.c
+++ b/gtksourceview/gtksourceview.c
@@ -3672,6 +3672,7 @@ gtk_source_view_query_tooltip (GtkWidget  *widget,
 		if (marks != NULL)
 		{
 			marks = g_slist_sort_with_data (marks, sort_marks_by_priority, view);
+			marks = g_slist_reverse (marks);
 			
 			set_tooltip_widget_from_marks (view, tooltip, marks);
 			



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