[gnome-builder/wip/gtk4-port] libide/gui: raise internal CSS priority
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port] libide/gui: raise internal CSS priority
- Date: Wed, 6 Apr 2022 20:01:22 +0000 (UTC)
commit 8c8ad41e4d8b48f5f3ccc6888a2b50e4c51047f5
Author: Christian Hergert <chergert redhat com>
Date: Wed Apr 6 12:59:44 2022 -0700
libide/gui: raise internal CSS priority
We want to take precedence over everything but user overrides for our
internal CSS to ensure styling is correct over libraries/etc.
src/libide/gui/ide-application.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libide/gui/ide-application.c b/src/libide/gui/ide-application.c
index 57f8808c6..b82e79ede 100644
--- a/src/libide/gui/ide-application.c
+++ b/src/libide/gui/ide-application.c
@@ -269,7 +269,7 @@ get_css_provider (IdeApplication *self,
ret = gtk_css_provider_new ();
gtk_style_context_add_provider_for_display (gdk_display_get_default (),
GTK_STYLE_PROVIDER (ret),
- GTK_STYLE_PROVIDER_PRIORITY_THEME+1);
+ GTK_STYLE_PROVIDER_PRIORITY_USER-1);
g_hash_table_insert (self->css_providers, g_strdup (key), ret);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]