aboutsummaryrefslogtreecommitdiff
path: root/src/music-player-bridge.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-01-05 16:06:52 +0000
committerConor Curran <conor.curran@canonical.com>2011-01-05 16:06:52 +0000
commitb8e5c4267c5c5db7889b18441a2fc733dd48cbdd (patch)
tree073a50e74369d0e4e54a953083e57262525b0f42 /src/music-player-bridge.vala
parentf43f3cc7f9f5d762bff2dcd7062cafe554581e20 (diff)
downloadayatana-indicator-sound-b8e5c4267c5c5db7889b18441a2fc733dd48cbdd.tar.gz
ayatana-indicator-sound-b8e5c4267c5c5db7889b18441a2fc733dd48cbdd.tar.bz2
ayatana-indicator-sound-b8e5c4267c5c5db7889b18441a2fc733dd48cbdd.zip
blacklisting working plus bug fixed
Diffstat (limited to 'src/music-player-bridge.vala')
-rw-r--r--src/music-player-bridge.vala1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/music-player-bridge.vala b/src/music-player-bridge.vala
index 7a56ede..c7391cf 100644
--- a/src/music-player-bridge.vala
+++ b/src/music-player-bridge.vala
@@ -141,6 +141,7 @@ public class MusicPlayerBridge : GLib.Object
private static AppInfo? create_app_info ( string desktop )
{
DesktopAppInfo info = new DesktopAppInfo ( desktop ) ;
+
if ( desktop == null || info == null ){
warning ( "Could not create a desktopappinfo instance from app: %s", desktop );
return null;