Ported to Gtk-3.10

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