Mercurial > audlegacy
comparison src/audacious/main.c @ 2838:6a980c061b5d trunk
Remove old debugging cruft.
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Fri, 15 Jun 2007 12:59:21 -0500 |
parents | a6f541819bbc |
children | a124656d4423 |
comparison
equal
deleted
inserted
replaced
2837:b6b8fe38e1e3 | 2838:6a980c061b5d |
---|---|
899 gboolean remote) | 899 gboolean remote) |
900 { | 900 { |
901 gchar **filenames = options->filenames; | 901 gchar **filenames = options->filenames; |
902 #ifdef USE_DBUS | 902 #ifdef USE_DBUS |
903 DBusGProxy *session = audacious_get_dbus_proxy(); | 903 DBusGProxy *session = audacious_get_dbus_proxy(); |
904 printf("session = %p\n", session); | |
905 #endif | 904 #endif |
906 | 905 |
907 if (options->version) | 906 if (options->version) |
908 { | 907 { |
909 dump_version(); | 908 dump_version(); |
999 | 998 |
1000 if (options->playcd) | 999 if (options->playcd) |
1001 play_medium(); | 1000 play_medium(); |
1002 } | 1001 } |
1003 | 1002 |
1004 printf("remote = %d\n", remote); | |
1005 if(remote) { | 1003 if(remote) { |
1006 gboolean is_running = audacious_remote_is_running(session); | 1004 gboolean is_running = audacious_remote_is_running(session); |
1007 printf("is_running %d\n", is_running); | |
1008 if (is_running) | 1005 if (is_running) |
1009 exit(EXIT_SUCCESS); | 1006 exit(EXIT_SUCCESS); |
1010 } | 1007 } |
1011 #endif | 1008 #endif |
1012 } | 1009 } |