[gtk+/gtk-style-context: 312/540] GtkStyleContext: Fix merging of local and global providers.



commit c47df212e07f6976bfdbdfab3e43693ecda2b8f2
Author: Carlos Garnacho <carlosg gnome org>
Date:   Wed Nov 3 11:40:12 2010 +0100

    GtkStyleContext: Fix merging of local and global providers.

 gtk/gtkstylecontext.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkstylecontext.c b/gtk/gtkstylecontext.c
index 8985877..fe4084e 100644
--- a/gtk/gtkstylecontext.c
+++ b/gtk/gtkstylecontext.c
@@ -741,7 +741,7 @@ find_next_candidate (GList *local,
       local_data = local->data;
       global_data = global->data;
 
-      if (local_data->priority >= global_data->priority)
+      if (local_data->priority < global_data->priority)
         return local;
       else
         return global;



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