main: call g_set_application_name()

I'm not sure about the advantages of calling g_set_application_name(),
because I don't use a task manager (except for ps and kill), but it
sure doesn't hurt.
This commit is contained in:
Max Kellermann 2009-10-20 21:02:00 +02:00
parent c953d6409d
commit 2e9e34aa40
1 changed files with 2 additions and 0 deletions

View File

@ -283,6 +283,8 @@ int main(int argc, char *argv[])
setlocale(LC_CTYPE,"");
#endif
g_set_application_name("Music Player Daemon");
/* enable GLib's thread safety code */
g_thread_init(NULL);