mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 14:31:10 +00:00
Fix compile warning
This commit is contained in:
parent
f2c6c82ff0
commit
605fa03248
@ -2633,10 +2633,12 @@ settings_update_theme (GtkSettings *settings)
|
||||
if (new_provider != provider)
|
||||
{
|
||||
if (provider)
|
||||
gtk_style_context_remove_provider_for_screen (settings->screen, provider);
|
||||
gtk_style_context_remove_provider_for_screen (settings->screen,
|
||||
GTK_STYLE_PROVIDER (provider));
|
||||
|
||||
if (new_provider)
|
||||
gtk_style_context_add_provider_for_screen (settings->screen, new_provider,
|
||||
gtk_style_context_add_provider_for_screen (settings->screen,
|
||||
GTK_STYLE_PROVIDER (new_provider),
|
||||
GTK_STYLE_PROVIDER_PRIORITY_SETTINGS + 1);
|
||||
|
||||
g_object_set_qdata_full (G_OBJECT (settings), quark_theme_name,
|
||||
|
Loading…
Reference in New Issue
Block a user