summaryrefslogtreecommitdiff
path: root/gtk/gtkstylecontext.c
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2010-11-03 11:40:12 +0100
committerCarlos Garnacho <carlosg@gnome.org>2010-12-04 15:38:35 +0100
commit80e74d79bbaa6db10b25bf5d21a0b5c589ecae8c (patch)
treeab50725284213114ac5baf38c77019f598334155 /gtk/gtkstylecontext.c
parentfb8de847df03b91d3e6f0674021af1fa1ba543b4 (diff)
downloadgtk+-80e74d79bbaa6db10b25bf5d21a0b5c589ecae8c.tar.gz
GtkStyleContext: Fix merging of local and global providers.
Diffstat (limited to 'gtk/gtkstylecontext.c')
-rw-r--r--gtk/gtkstylecontext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkstylecontext.c b/gtk/gtkstylecontext.c
index 8985877f52..fe4084e79a 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;