Remove some deprecation warnings

Change-Id: I19c379106e7f736b3bb5efdf9f2fe54caa9ed16f
Reviewed-on: http://gerrit.dmdirc.com/3215
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com>
DI the OS X integration plugin.

Change-Id: I090b16cd0c2f72bda1a90d22d24a584b513a71bf
Reviewed-on: http://gerrit.dmdirc.com/3217
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com>