[gtk+/gtk-style-context: 380/540] GtkSettings: install theme CSS with a lower priority.



commit c3818118865e98db9a42b60060234517f6f3b9f7
Author: Carlos Garnacho <carlosg gnome org>
Date:   Wed Nov 17 02:39:17 2010 +0100

    GtkSettings: install theme CSS with a lower priority.
    
    This is so GtkSettings has an opportunity to modify theme colors.

 gtk/gtksettings.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c
index f699dec..4c55eec 100644
--- a/gtk/gtksettings.c
+++ b/gtk/gtksettings.c
@@ -2639,7 +2639,7 @@ settings_update_theme (GtkSettings *settings)
         {
           gtk_style_context_add_provider_for_screen (settings->screen,
                                                      GTK_STYLE_PROVIDER (new_provider),
-                                                     GTK_STYLE_PROVIDER_PRIORITY_SETTINGS + 1);
+                                                     GTK_STYLE_PROVIDER_PRIORITY_SETTINGS - 1);
           g_object_ref (new_provider);
         }
 



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