Disambiguate source names

This makes debugging more pleasant.
This commit is contained in:
Matthias Clasen 2017-06-28 15:49:40 -04:00
parent 79e4d4c6be
commit f39024038f
3 changed files with 3 additions and 3 deletions

View File

@ -4901,7 +4901,7 @@ schedule_method_call (GDBusConnection *connection,
call_in_idle_cb,
invocation,
g_object_unref);
g_source_set_name (idle_source, "[gio] call_in_idle_cb");
g_source_set_name (idle_source, "[gio, " __FILE__ "] call_in_idle_cb");
g_source_attach (idle_source, main_context);
g_source_unref (idle_source);
}

View File

@ -197,7 +197,7 @@ schedule_call_in_idle (Client *client, CallType call_type)
call_in_idle_cb,
data,
(GDestroyNotify) call_handler_data_free);
g_source_set_name (idle_source, "[gio] call_in_idle_cb");
g_source_set_name (idle_source, "[gio, gdbusnameowning.c] call_in_idle_cb");
g_source_attach (idle_source, client->main_context);
g_source_unref (idle_source);
}

View File

@ -201,7 +201,7 @@ schedule_call_in_idle (Client *client, CallType call_type)
call_in_idle_cb,
data,
(GDestroyNotify) call_handler_data_free);
g_source_set_name (idle_source, "[gio] call_in_idle_cb");
g_source_set_name (idle_source, "[gio, gdbusnamewatching.c] call_in_idle_cb");
g_source_attach (idle_source, client->main_context);
g_source_unref (idle_source);
}