Update to 1.5.90

This commit is contained in:
David King 2022-02-13 09:54:45 +00:00
parent 4267838a22
commit 3849c19b87
4 changed files with 9 additions and 47 deletions

1
.gitignore vendored
View File

@ -13,3 +13,4 @@
/libhandy-1.3.90.tar.xz
/libhandy-1.4.0.tar.xz
/libhandy-1.5.0.tar.xz
/libhandy-1.5.90.tar.xz

View File

@ -1,39 +0,0 @@
From 260cb066811d2d806600030ff1c9ca53bc1880c2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Guido=20G=C3=BCnther?= <agx@sigxcpu.org>
Date: Fri, 26 Nov 2021 09:54:04 +0100
Subject: [PATCH] swipe-tracker: Guard all swipeable access with NULL
This avoids a
GLib-GObject-FATAL-CRITICAL: g_object_set_data: assertion 'G_IS_OBJECT (object)' failed
when the weak ref is already gone.
---
src/hdy-swipe-tracker.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/hdy-swipe-tracker.c b/src/hdy-swipe-tracker.c
index 03b41781..ba01bd05 100644
--- a/src/hdy-swipe-tracker.c
+++ b/src/hdy-swipe-tracker.c
@@ -944,14 +944,14 @@ hdy_swipe_tracker_dispose (GObject *object)
{
HdySwipeTracker *self = HDY_SWIPE_TRACKER (object);
- if (self->swipeable)
+ if (self->swipeable) {
gtk_grab_remove (GTK_WIDGET (self->swipeable));
+ g_object_set_data (G_OBJECT (self->swipeable), "captured-event-handler", NULL);
+ }
if (self->touch_gesture)
g_signal_handlers_disconnect_by_data (self->touch_gesture, self);
- g_object_set_data (G_OBJECT (self->swipeable), "captured-event-handler", NULL);
-
g_clear_pointer (&self->event_history, g_array_unref);
g_clear_object (&self->touch_gesture);
set_swipeable (self, NULL);
--
GitLab

View File

@ -1,18 +1,15 @@
Name: libhandy
Version: 1.5.0
Release: 3%{?dist}
Version: 1.5.90
Release: 1%{?dist}
Summary: Building blocks for modern adaptive GNOME apps
License: LGPLv2+
URL: https://gitlab.gnome.org/GNOME/libhandy
%global majmin %(echo %{version} | cut -d . -f -2)
Source0: https://download.gnome.org/sources/libhandy/%{majmin}/libhandy-%{version}.tar.xz
# Backported from upstream
# https://gitlab.gnome.org/GNOME/libhandy/-/merge_requests/792
Patch0: 792.patch
BuildRequires: gcc
BuildRequires: gtk-doc
BuildRequires: gi-docgen
BuildRequires: meson
BuildRequires: vala
@ -91,11 +88,14 @@ developing applications that use %{name}.
%{_datadir}/gir-1.0/
%{_datadir}/glade/
%{_datadir}/gtk-doc/
%doc %{_datadir}/doc/libhandy-1/
%{_datadir}/vala/
%changelog
* Sun Feb 13 2022 David King <amigadave@amigadave.com> - 1.5.90-1
- Update to 1.5.90
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (libhandy-1.5.0.tar.xz) = cd7706e97bc9d5a7d595c450145bc157b95afaccc1ee26b5490149327fd644eb522b7bbfee92ea2780083c36d69bbd666c52e38a752e78068a5ba0f79b3c56a0
SHA512 (libhandy-1.5.90.tar.xz) = 68948c9eea0157f63fe19f417eb57ff7f1c2d18434196a91c4c72c721ec43a8738c9b215caa2d1bca1b0c495671233b575a1b6ce0db2ec0ed287f4600da9d006