mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-26 09:30:04 +01:00
gdbusconnection: Set a name on all sources
We already set names on most sources, this one was just forgotten. This lets us set a static name, and prevents g_task_attach_source from setting a non-static one.
This commit is contained in:
parent
01f2c5aec9
commit
794ee60306
@ -1945,6 +1945,7 @@ g_dbus_connection_send_message_with_reply_unlocked (GDBusConnection *connect
|
|||||||
if (timeout_msec != G_MAXINT)
|
if (timeout_msec != G_MAXINT)
|
||||||
{
|
{
|
||||||
data->timeout_source = g_timeout_source_new (timeout_msec);
|
data->timeout_source = g_timeout_source_new (timeout_msec);
|
||||||
|
g_source_set_static_name (data->timeout_source, "[gio] send_message_with_reply_unlocked");
|
||||||
g_task_attach_source (task, data->timeout_source,
|
g_task_attach_source (task, data->timeout_source,
|
||||||
(GSourceFunc) send_message_with_reply_timeout_cb);
|
(GSourceFunc) send_message_with_reply_timeout_cb);
|
||||||
g_source_unref (data->timeout_source);
|
g_source_unref (data->timeout_source);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user