Port internal uses to use g_source_set_static_name()

This should reduce allocations.

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
Philip Withnall
2021-07-26 10:53:02 +01:00
parent 302346d4d3
commit 8e963e0e31
22 changed files with 40 additions and 40 deletions

View File

@@ -206,7 +206,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, gdbusnamewatching.c] call_in_idle_cb");
g_source_set_static_name (idle_source, "[gio, gdbusnamewatching.c] call_in_idle_cb");
g_source_attach (idle_source, client->main_context);
g_source_unref (idle_source);
}