gupnp: update to 1.6.8

This commit is contained in:
chrysos349 2025-03-26 10:02:57 +03:00 committed by oreo639
parent 3a9b82b8dc
commit 224390c30d
2 changed files with 46 additions and 2 deletions

View file

@ -0,0 +1,44 @@
Don't call g_thread_unref after g_thread_join, g_thread_join already calls g_thread_unref.
https://docs.gtk.org/glib/struct.Thread.html
From 3990212ac5e22ed8f9f6f83c76de0ec3651564c9 Mon Sep 17 00:00:00 2001
From: Jens Georg <mail@jensge.org>
Date: Sat, 29 Mar 2025 12:29:48 +0100
Subject: [PATCH] tests: Remove unnecessary g_thread_unref
---
tests/test-service-proxy.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/tests/test-service-proxy.c b/tests/test-service-proxy.c
index cc3c613..988e0e6 100644
--- a/tests/test-service-proxy.c
+++ b/tests/test-service-proxy.c
@@ -517,8 +517,6 @@ test_sync_call (ProxyTestFixture *tf, gconstpointer user_data)
// Spin the loop for a bit...
g_timeout_add (500, (GSourceFunc) delayed_loop_quitter, tf->loop);
g_main_loop_run (tf->loop);
-
- g_thread_unref (t);
}
gboolean
@@ -562,7 +560,6 @@ test_cancel_sync_call (ProxyTestFixture *tf, gconstpointer user_data)
// Spin the loop for a bit...
g_timeout_add (500, (GSourceFunc) delayed_loop_quitter, tf->loop);
g_main_loop_run (tf->loop);
- g_thread_unref (t);
g_object_unref (d.cancellable);
}
@@ -642,7 +639,6 @@ test_finish_soap_error_sync (ProxyTestFixture *tf, gconstpointer user_data)
// Spin the loop for a bit...
g_timeout_add (500, (GSourceFunc) delayed_loop_quitter, tf->loop);
g_main_loop_run (tf->loop);
- g_thread_unref (t);
}
void
--
GitLab

View file

@ -1,6 +1,6 @@
# Template file for 'gupnp'
pkgname=gupnp
version=1.6.6
version=1.6.8
revision=1
build_style=meson
build_helper="gir"
@ -14,7 +14,7 @@ license="LGPL-2.1-or-later"
homepage="https://wiki.gnome.org/Projects/GUPnP"
changelog="https://gitlab.gnome.org/GNOME/gupnp/-/raw/master/NEWS"
distfiles="${GNOME_SITE}/gupnp/${version%.*}/gupnp-${version}.tar.xz"
checksum=c9dc50e8c78b3792d1b0e6c5c5f52c93e9345d3dae2891e311a993a574f5a04f
checksum=70a003cebd68577293fb3e6af49ff902203bf8768b2fc5d651ddc1f0fa1e11e9
build_options="gir"
build_options_default="gir"