poppler: backport event sub classes from gtk2/

* backport event subclasses from gtk2 https://github.com/ruby-gnome2/ruby-gnome2/commit/753593e2363c793b238a817b44b430a066780eeb