mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
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:
@@ -1085,7 +1085,7 @@ on_run (GSocketService *service,
|
||||
emit_new_connection_in_idle,
|
||||
data,
|
||||
(GDestroyNotify) emit_idle_data_free);
|
||||
g_source_set_name (idle_source, "[gio] emit_new_connection_in_idle");
|
||||
g_source_set_static_name (idle_source, "[gio] emit_new_connection_in_idle");
|
||||
g_source_attach (idle_source, server->main_context_at_construction);
|
||||
g_source_unref (idle_source);
|
||||
}
|
||||
|
Reference in New Issue
Block a user