aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2014-02-25 16:47:45 -0600
committerTed Gould <ted@gould.cx>2014-02-25 16:47:45 -0600
commite9216681e8644d91d8efc2aff76810d9172e48a6 (patch)
tree2378215580721c8ba0f4426564e849122c367229 /src/main.c
parentc003018253a7f1574c5f370bf2e1c2148e1df328 (diff)
downloadayatana-indicator-sound-e9216681e8644d91d8efc2aff76810d9172e48a6.tar.gz
ayatana-indicator-sound-e9216681e8644d91d8efc2aff76810d9172e48a6.tar.bz2
ayatana-indicator-sound-e9216681e8644d91d8efc2aff76810d9172e48a6.zip
Truth is difficult
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index a14bdea..e9a148e 100644
--- a/src/main.c
+++ b/src/main.c
@@ -23,7 +23,7 @@ main (int argc, char ** argv) {
MediaPlayerList * playerlist = NULL;
- if (g_strcmp0("lightdm", g_get_user_name())) {
+ if (g_strcmp0("lightdm", g_get_user_name()) == 0) {
playerlist = MEDIA_PLAYER_LIST(media_player_list_greeter_new());
} else {
playerlist = MEDIA_PLAYER_LIST(media_player_list_mpris_new());