Added fallback for Gtk < 3.10