diff options
author | Bastien Nocera <hadess@hadess.net> | 2014-03-22 13:15:45 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2014-03-27 12:53:00 +0100 |
commit | 8792609e15394967cab526838b83f90acb401663 (patch) | |
tree | 3dca20350f812b742c1211aa5cdd43e7dfc8add8 /gio/gdbusprivate.c | |
parent | e1dee398bf6610f4822b5d2491bf545fdc502f91 (diff) | |
download | glib-8792609e15394967cab526838b83f90acb401663.tar.gz |
gio: Add names to idles and timeouts
This isn't too useful for some of the "return result in idle"
functions, but it's better than nothing.
https://bugzilla.gnome.org/show_bug.cgi?id=726872
Diffstat (limited to 'gio/gdbusprivate.c')
-rw-r--r-- | gio/gdbusprivate.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gio/gdbusprivate.c b/gio/gdbusprivate.c index 762e676c5..86a9d9409 100644 --- a/gio/gdbusprivate.c +++ b/gio/gdbusprivate.c @@ -554,6 +554,7 @@ _g_dbus_worker_unfreeze (GDBusWorker *worker) unfreeze_in_idle_cb, _g_dbus_worker_ref (worker), (GDestroyNotify) _g_dbus_worker_unref); + g_source_set_name (idle_source, "[gio] unfreeze_in_idle_cb"); g_source_attach (idle_source, worker->shared_thread_data->context); g_source_unref (idle_source); } @@ -1596,6 +1597,7 @@ schedule_writing_unlocked (GDBusWorker *worker, continue_writing_in_idle_cb, _g_dbus_worker_ref (worker), (GDestroyNotify) _g_dbus_worker_unref); + g_source_set_name (idle_source, "[gio] continue_writing_in_idle_cb"); g_source_attach (idle_source, worker->shared_thread_data->context); g_source_unref (idle_source); } @@ -1681,6 +1683,7 @@ _g_dbus_worker_new (GIOStream *stream, _g_dbus_worker_do_initial_read, _g_dbus_worker_ref (worker), (GDestroyNotify) _g_dbus_worker_unref); + g_source_set_name (idle_source, "[gio] _g_dbus_worker_do_initial_read"); g_source_attach (idle_source, worker->shared_thread_data->context); g_source_unref (idle_source); |