Thread-safe variation of get_display_name.
Use this function when accessing this from multiple threads.
The returned string should be freed with g_free when no longer needed.
this |
an Source |
a newly-allocated copy of display_name |