diff options
author | zhuyaliang <[email protected]> | 2023-10-08 10:27:51 +0800 |
---|---|---|
committer | mouse <[email protected]> | 2023-10-11 17:29:28 +0800 |
commit | 9cdaead58f88a29f80dd4991cdf0792f645c317b (patch) | |
tree | bc8a9f7db99e8a35efadd02a9022a68a09da1fdb /libmate-desktop/mate-bg-crossfade.c | |
parent | 0808f973c42fba85719322c9a2ffdb9289201f3f (diff) | |
download | mate-desktop-9cdaead58f88a29f80dd4991cdf0792f645c317b.tar.bz2 mate-desktop-9cdaead58f88a29f80dd4991cdf0792f645c317b.tar.xz |
Fix compilation warning replace gtk_style_context_get_background_color
Diffstat (limited to 'libmate-desktop/mate-bg-crossfade.c')
-rw-r--r-- | libmate-desktop/mate-bg-crossfade.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmate-desktop/mate-bg-crossfade.c b/libmate-desktop/mate-bg-crossfade.c index ba1fbef..586b524 100644 --- a/libmate-desktop/mate-bg-crossfade.c +++ b/libmate-desktop/mate-bg-crossfade.c @@ -278,7 +278,7 @@ tile_surface (cairo_surface_t *surface, gtk_style_context_add_provider (context, GTK_STYLE_PROVIDER (provider), GTK_STYLE_PROVIDER_PRIORITY_THEME); - gtk_style_context_get_background_color (context, GTK_STATE_FLAG_NORMAL, &bg); + gtk_style_context_get (context, GTK_STATE_FLAG_NORMAL, "background-color", &bg, NULL); gdk_cairo_set_source_rgba(cr, &bg); g_object_unref (G_OBJECT (context)); } |