carousel: Lower CSS priority

Otherwise an application won’t be able to override the CSS installed by
libmalcontent-ui if this is ever moved into libmalcontent-ui.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
Philip Withnall 2020-02-24 16:32:54 +00:00
parent b9a2b7a6a7
commit 8027351f58
1 changed files with 1 additions and 1 deletions

View File

@ -447,7 +447,7 @@ mct_carousel_init (MctCarousel *self)
gtk_style_context_add_provider_for_screen (gdk_screen_get_default (), gtk_style_context_add_provider_for_screen (gdk_screen_get_default (),
provider, provider,
GTK_STYLE_PROVIDER_PRIORITY_APPLICATION); GTK_STYLE_PROVIDER_PRIORITY_APPLICATION - 1);
g_object_unref (provider); g_object_unref (provider);