summaryrefslogtreecommitdiff
path: root/gio/gdbusaddress.c
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2016-06-16 19:39:38 -0400
committerPhilip Withnall <philip.withnall@collabora.co.uk>2016-06-29 15:16:52 +0100
commit3613b7a3660f2a7d9609faa2d6a4649bdc5f4fe3 (patch)
treea97fead7b02900669b1078455d51d86ec95f9c5d /gio/gdbusaddress.c
parent7ea4949cdac8f7a4636f92e9e9efceec90ff09e6 (diff)
downloadglib-3613b7a3660f2a7d9609faa2d6a4649bdc5f4fe3.tar.gz
gio: Add source tags to various GTasks constructed in GLib
This makes them easier to identify when debugging and profiling. This patch was somewhat less than interesting to write. https://bugzilla.gnome.org/show_bug.cgi?id=767765
Diffstat (limited to 'gio/gdbusaddress.c')
-rw-r--r--gio/gdbusaddress.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gio/gdbusaddress.c b/gio/gdbusaddress.c
index 7c294f7f1..a004011ae 100644
--- a/gio/gdbusaddress.c
+++ b/gio/gdbusaddress.c
@@ -865,6 +865,7 @@ g_dbus_address_get_stream (const gchar *address,
data->address = g_strdup (address);
task = g_task_new (NULL, cancellable, callback, user_data);
+ g_task_set_source_tag (task, g_dbus_address_get_stream);
g_task_set_task_data (task, data, (GDestroyNotify) get_stream_data_free);
g_task_run_in_thread (task, get_stream_thread_func);
g_object_unref (task);