Fixed crash in journal when mousing over activity icons

When mousing over some journal icons, sugar crashes. This small change fixes the crash and a deprecation message.