The state argument was removed in commit1518fe0
(API: stylecontext: Remove state argument from getters), but we missed updating this file until commit5b94fe6
(stylecontext: Make first property name explicit), as the compiler did not issue any warnings on the (now-defunct) usage. https://bugzilla.gnome.org/show_bug.cgi?id=773299