Use g_object_unref in callback for both Gtk+ versions