We should use gtk_widget_is_sensitive() instead if GTK version is >= 2.18.
Created attachment 50287 [details] proposed patch
Comment on attachment 50287 [details] proposed patch I might miss my morning coffee... or people from shelbyville has put stuff into the water... > + [GTK] GTK_WIDGET_IS_SENSITIVE deprecated in GTK+ 2.20 please put a verb like "is" there to make it a sentence. :) > + > +#if GTK_CHECK_VERSION(2, 18, 0) > if (GTK_WIDGET_IS_SENSITIVE(widget)) { > +#else > + if (GTK_WIDGET_IS_SENSITIVE(widget)) { > +#endif this looks identical. I think you want to make one of them gtk_widget_is_sensitive?
Created attachment 50372 [details] updated patch
Created attachment 50373 [details] updated patch
Attachment 50372 [details] did not build on gtk: Build output: http://webkit-commit-queue.appspot.com/results/579005
Landed in r55989.