[gupnp] DeviceInfo: Set task name for icon downloader



commit 453d4ece7f444546d7c78ae662b787006cd6c082
Author: Jens Georg <mail jensge org>
Date:   Tue Jun 14 08:11:40 2022 +0200

    DeviceInfo: Set task name for icon downloader

 libgupnp/gupnp-device-info.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/libgupnp/gupnp-device-info.c b/libgupnp/gupnp-device-info.c
index 50ca61a..35d9434 100644
--- a/libgupnp/gupnp-device-info.c
+++ b/libgupnp/gupnp-device-info.c
@@ -1590,6 +1590,8 @@ gupnp_device_info_get_icon_async (GUPnPDeviceInfo *info,
         g_return_if_fail (GUPNP_IS_DEVICE_INFO (info));
 
         GTask *task = g_task_new (info, cancellable, callback, user_data);
+        g_task_set_name (task, "DeviceInfo icon fetcher");
+
         char *mime = NULL;
         int depth = -1;
         int width = -1;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]