Adapt to new gnome-desktop API changes

This commit is contained in:
yeah_wang 2021-02-03 15:25:07 +08:00
parent 5ed1821514
commit 53800ae8bd
2 changed files with 32 additions and 1 deletions

View File

@ -0,0 +1,24 @@
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
---
panels/background/cc-background-item.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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

View File

@ -1,6 +1,6 @@
Name: gnome-control-center
Version: 3.30.1
Release: 12
Release: 13
Summary: GNOME Settings is GNOME's main interface for configuration of various aspects of your desktop.
License: GPLv2+ and CC-BY-SA
URL: http://www.gnome.org
@ -31,6 +31,7 @@ Obsoletes: control-center < 1:%{version}-%{release}
# Patch0 and Patch2 is from fedora 29
Patch1: 0001-online-accounts-Track-the-lifecycle-of-CcGoaPanel-ac.patch
Patch2: 0002-background-Add-queue-to-load-4-pictures-at-a-time.patch
Patch3: Adapt-to-new-gnome-desktop-API-changes.patch
Patch9000: bugfix-gnome-control-center-clickassist-fix.patch
Patch9001: bugfix-gnome-control-center-fix-repetitivewallpapers.patch
@ -103,6 +104,12 @@ chrpath --delete %{buildroot}%{_bindir}/gnome-control-center
%{_mandir}/man1/*.gz
%changelog
* Wed Feb 3 2021 yanglu<yanglu60@huawei.com> - 3.30.1-13
- Type:bugfix
- ID:NA
- SUG:NA
- DESC: Adapt to new gnome-desktop API changes
* Fri Sep 11 2020 chengguipeng<chengguipeng1@huawei.com> - 3.30.1-12
- Type:bugfix
- ID:NA