40 lines
1.6 KiB
Diff
40 lines
1.6 KiB
Diff
From 9dcb5cde73917832fa11cab69e7b51b092f281f2 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Javier=20Jard=C3=B3n?= <jjardon@gnome.org>
|
|
Date: Wed, 15 Jan 2020 20:25:56 +0900
|
|
Subject: [PATCH] Adapt to new gnome-desktop API changes
|
|
|
|
---
|
|
meson.build | 2 +-
|
|
panels/background/cc-background-item.c | 2 +-
|
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/meson.build b/meson.build
|
|
index fcc062bd5..e0c1ff6f0 100644
|
|
--- a/meson.build
|
|
+++ b/meson.build
|
|
@@ -120,7 +120,7 @@ colord_dep = dependency('colord', version: '>= 0.1.34')
|
|
gdk_pixbuf_dep = dependency('gdk-pixbuf-2.0', version: '>= 2.23.0')
|
|
gio_dep = dependency('gio-2.0')
|
|
glib_dep = dependency('glib-2.0', version: '>= 2.53.0')
|
|
-gnome_desktop_dep = dependency('gnome-desktop-3.0', version: '>= 3.27.90')
|
|
+gnome_desktop_dep = dependency('gnome-desktop-3.0', version: '>= 3.35.4')
|
|
gnome_settings_dep = dependency('gnome-settings-daemon', version: '>= 3.27.90')
|
|
goa_dep = dependency('goa-1.0', version: goa_req_version)
|
|
gsettings_desktop_dep = dependency('gsettings-desktop-schemas', version: '>= 3.31.0')
|
|
diff --git a/panels/background/cc-background-item.c b/panels/background/cc-background-item.c
|
|
index dc8850b66..50851e17d 100644
|
|
--- a/panels/background/cc-background-item.c
|
|
+++ b/panels/background/cc-background-item.c
|
|
@@ -156,7 +156,7 @@ render_at_size (GnomeBG *bg,
|
|
GdkPixbuf *pixbuf;
|
|
|
|
pixbuf = gdk_pixbuf_new (GDK_COLORSPACE_RGB, FALSE, 8, width, height);
|
|
- gnome_bg_draw (bg, pixbuf, gdk_screen_get_default (), FALSE);
|
|
+ gnome_bg_draw (bg, pixbuf);
|
|
|
|
return pixbuf;
|
|
}
|
|
--
|
|
2.24.1
|
|
|