Compiling pinetry from HEAD doesn't work, because configure sets
-Wstrict-prototypes, but /usr/include/gtk-2.0/gtk/gtkitemfactory.h isn't clean:
make[2]: Entering directory '/home/us/neal/work/gpg/build/pinentry/gtk+-2'
gcc -DHAVE_CONFIG_H -I. -I../../../pinentry/gtk+-2 -I.. -pthread
-I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include
-I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1
-I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12
-I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-I/usr/include/freetype2 -I../../../pinentry/secmem
-I../../../pinentry/pinentry -Wall -g -O2 -Wall -Wcast-align -Wshadow
-Wstrict-prototypes -Wno-pointer-sign -MT pinentry-gtk-2.o -MD -MP -MF
.deps/pinentry-gtk-2.Tpo -c -o pinentry-gtk-2.o
../../../pinentry/gtk+-2/pinentry-gtk-2.c
In file included from /usr/include/gtk-2.0/gtk/gtk.h:234:0,
from ../../../pinentry/gtk+-2/pinentry-gtk-2.c:28:
/usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration
isn’t a prototype [-Wstrict-prototypes]
typedef void (*GtkItemFactoryCallback) ();
^