Accepting request 606126 from home:iznogood

- Update to version 3.28.2:
  + Fix a memory leak in background slide shows.
  + Updated translations.
- Drop gnome-desktop-plug-memory-leak.patch: Fixed upstream.

OBS-URL: https://build.opensuse.org/request/show/606126
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-desktop?expand=0&rev=260
This commit is contained in:
Dominique Leuenberger 2018-05-14 07:28:16 +00:00 committed by Git OBS Bridge
parent ca21e285d6
commit cc21126dba
5 changed files with 12 additions and 45 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:78a397a2be47586e6dc075d6a7fc5659aae3d10713d76994ce1b46086e7ecb9a
size 1077368

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:605087bff17c61bc167ccb5a61ed4d06eab922fcce384576ed2a3577214c8330
size 1077556

View File

@ -1,38 +0,0 @@
From 436ca8f0797cbd1321893cdb8f6f1ee9cddfe42b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
Date: Mon, 26 Feb 2018 19:39:06 +0100
Subject: bg-slide-show: Plug a memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=793854
---
libgnome-desktop/gnome-bg-slide-show.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libgnome-desktop/gnome-bg-slide-show.c b/libgnome-desktop/gnome-bg-slide-show.c
index cb9b90b..c4674ba 100644
--- a/libgnome-desktop/gnome-bg-slide-show.c
+++ b/libgnome-desktop/gnome-bg-slide-show.c
@@ -741,17 +741,20 @@ on_file_loaded (GFile *file,
if (!loaded) {
g_task_return_error (task, error);
+ g_object_unref (task);
return;
}
if (!parse_file_contents (g_task_get_source_object (task), contents, length, &error)) {
g_task_return_error (task, error);
+ g_object_unref (task);
g_free (contents);
return;
}
g_free (contents);
g_task_return_boolean (task, TRUE);
+ g_object_unref (task);
}
/**
--
cgit v0.12

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu May 10 09:46:25 UTC 2018 - bjorn.lie@gmail.com
- Update to version 3.28.2:
+ Fix a memory leak in background slide shows.
+ Updated translations.
- Drop gnome-desktop-plug-memory-leak.patch: Fixed upstream.
-------------------------------------------------------------------
Mon Apr 30 07:02:29 UTC 2018 - bjorn.lie@gmail.com

View File

@ -18,7 +18,7 @@
%define IS_DEFAULT_GNOME_DESKTOP 1
Name: gnome-desktop
Version: 3.28.1
Version: 3.28.2
Release: 0
Summary: The GNOME Desktop API Library
License: LGPL-2.1-or-later
@ -28,8 +28,6 @@ Source: http://download.gnome.org/sources/gnome-desktop/3.28/%{name}-%{v
Source99: baselibs.conf
# PATFH-FIX-OPENSUSE gnome-desktop-switch-Japanese-default-input-to-mozc.patch bnc#1029083 boo#1056289 qzhao@suse.com -- Switch new user's default input engine from "anthy" to "mozc" in gnome-desktop with Japanese language and ibus input frame-work condition.
Patch1: gnome-desktop-switch-Japanese-default-input-to-mozc.patch
# PATCH-FIX-UPSTREAM gnome-desktop-plug-memory-leak.patch bgo#793878 -- bg-slide-show: Plug a memory leak
Patch2: gnome-desktop-plug-memory-leak.patch
BuildRequires: fdupes
BuildRequires: gobject-introspection-devel
BuildRequires: intltool
@ -129,7 +127,6 @@ reasons.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
translation-update-upstream
%if 0%{?BUILD_FROM_VCS}