[gtk+/gtk-style-context] GtkStyleContext: Fix merging of local and global providers.
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-style-context] GtkStyleContext: Fix merging of local and global providers.
- Date: Mon, 8 Nov 2010 00:30:52 +0000 (UTC)
commit 295ef73ba1c8fc653353381f3794d185ef1e04b2
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]