aboutsummaryrefslogtreecommitdiff
path: root/src/music-player-bridge.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-07-12 14:46:13 +0100
committerConor Curran <conor.curran@canonical.com>2010-07-12 14:46:13 +0100
commitc653012e7a55de1a6ecabf798a7d86e87d4affc6 (patch)
tree7fae59d6256f8b6713db9b477c92f18dd0f73532 /src/music-player-bridge.vala
parenta96e011314ea03b04768681b724958f6688f06dc (diff)
downloadayatana-indicator-sound-c653012e7a55de1a6ecabf798a7d86e87d4affc6.tar.gz
ayatana-indicator-sound-c653012e7a55de1a6ecabf798a7d86e87d4affc6.tar.bz2
ayatana-indicator-sound-c653012e7a55de1a6ecabf798a7d86e87d4affc6.zip
caught by static scopeness - update bug fixed
Diffstat (limited to 'src/music-player-bridge.vala')
-rw-r--r--src/music-player-bridge.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/music-player-bridge.vala b/src/music-player-bridge.vala
index ec4fb25..2f87b2d 100644
--- a/src/music-player-bridge.vala
+++ b/src/music-player-bridge.vala
@@ -52,7 +52,7 @@ public class MusicPlayerBridge : GLib.Object
warning("App string in keyfile is null therefore moving on to next player");
continue;
}
- DesktopAppInfo info = new DesktopAppInfo.from_filename(app);
+ DesktopAppInfo info = new DesktopAppInfo.from_filename(app);
if(info == null){
warning("Could not create a desktopappinfo instance from app: %s", app);
continue;
@@ -65,7 +65,7 @@ public class MusicPlayerBridge : GLib.Object
ctrl.set("app_info", app_info);
this.registered_clients.set(app_info.get_name().down().strip(), ctrl);
debug("Created a player controller for %s which was found in the cache file", app_info.get_name().down().strip());
- count += 1;
+ count += 1;
}
break;
}