xbmc/xbmc — pull request #2171 by popcornmix (2013-02-03 13:52:53+00:00)
Title: Protect pointer dereference to avoid a segfault when running headless.

When using libxbmc.so in a headless setup for library scans, dialog will be NULL. See:
http://forum.xbmc.org/showthread.php?tid=132919&pid=1320914#pid1320914