Replace obsolete Gtk symbols in highgui

This update replaces depreciated Gtk1.x symbols with Gtk2.x symbols in
preparation for adding Gtk3 support to highgui. These edits aim to be fully
compatible with Gtk2.x, allowing backward compatibility.