GTK3 backend: Replaced deprecated GObject calls with GLib
Merge pull request #2826 from timovwb/master

GTK3 backend: Replaced deprecated GObject calls with GLib