Found (hacked) a way to check if the activity is GTK3 or GTK2

This is in the view source dialog