aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-10-20 21:02:00 +0200
committerMax Kellermann <max@duempel.org>2009-10-20 21:02:00 +0200
commit2e9e34aa40bc9e6f221ef74a2f0cc87e9de4b793 (patch)
treeb157a03b8a04956a85baee34484d32c1f1c46ba6 /src/main.c
parentc953d6409dffd476370ba639118cba97bcda2f35 (diff)
downloadmpd-2e9e34aa40bc9e6f221ef74a2f0cc87e9de4b793.tar.gz
mpd-2e9e34aa40bc9e6f221ef74a2f0cc87e9de4b793.tar.xz
mpd-2e9e34aa40bc9e6f221ef74a2f0cc87e9de4b793.zip
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.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 81bc8464a..17f9c8dbd 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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);