GTK3-compatibility fixes.

Fixes to make atril running on latest GTK+ 3.10
Anyway, it still needs --disable-caja flag, because otherwise, it links against gtk+-x11 which is part of GTK2. It probably could be fixed via autotools change (I'm not autotools expert).