replace functions deprecated in Gtk-3.10 with their substitutes

Closes $673

Signed-off-by: Jakub Filak <jfilak@redhat.com>
Signed-off-by: Martin Milata <mmilata@redhat.com>