aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-05-07 19:11:41 +0200
committerConor Curran <conor.curran@canonical.com>2010-05-07 19:11:41 +0200
commit3631b8ecce614d1bdd1f66e87f9ab20c85709cc3 (patch)
treeabad5ebd8d850d87bc6cf31c7ab89d736d76c5b5 /src
parent4a17bff0cb034345ecce8e623a82026e8f60be3c (diff)
downloadayatana-indicator-sound-3631b8ecce614d1bdd1f66e87f9ab20c85709cc3.tar.gz
ayatana-indicator-sound-3631b8ecce614d1bdd1f66e87f9ab20c85709cc3.tar.bz2
ayatana-indicator-sound-3631b8ecce614d1bdd1f66e87f9ab20c85709cc3.zip
Diffstat (limited to 'src')
-rw-r--r--src/rhythmbox-controller.vala8
-rw-r--r--src/sound-service.c1
2 files changed, 4 insertions, 5 deletions
diff --git a/src/rhythmbox-controller.vala b/src/rhythmbox-controller.vala
index da10daf..49cc9c0 100644
--- a/src/rhythmbox-controller.vala
+++ b/src/rhythmbox-controller.vala
@@ -18,7 +18,7 @@ public class RhythmboxController : GLib.Object{
this.rhythmbox_shell = connection.get_object ("org.gnome.Rhythmbox", "/org/gnome/Rhythmbox/Shell", "/org/gnome/Rhythmbox/Shell");
this.rhythmbox_playlistmgr = connection.get_object ("org.gnome.Rhythmbox", "/org/gnome/Rhythmbox/PlaylistManager", "/org/gnome/Rhythmbox/PlaylistManager");
- this.rhythmbox_player.PlayingUriChanged += onUriChange;
+ //this.rhythmbox_player.PlayingUriChanged += onUriChange;
this.rhythmbox_player.elapsedChanged += onElapsedChange;
this.rhythmbox_player.setMute(false);
@@ -29,9 +29,9 @@ public class RhythmboxController : GLib.Object{
debug("New rhythmbox controller has been instantiated %i", (int)b);
}
- private void onUriChange(dynamic DBus.Object rhythmbox, string uri){
- debug("onUriChange, new uri : %s", uri);
- }
+// private void onUriChange(dynamic DBus.Object rhythmbox, string uri){
+// debug("onUriChange, new uri : %s", uri);
+// }
private void onElapsedChange(dynamic DBus.Object rhythmbox, uint32 time){
debug("onElapsedChange, new time = %u", time);
diff --git a/src/sound-service.c b/src/sound-service.c
index a061e86..dad1bcd 100644
--- a/src/sound-service.c
+++ b/src/sound-service.c
@@ -73,7 +73,6 @@ main (int argc, char ** argv)
dbus_menu_manager_setup();
BridgeServer* server = bridge_server_new();
bridge_server_test_me(server);
- //g_object_new(bridge_server_new, NULL);
// Run the loop
mainloop = g_main_loop_new(NULL, FALSE);