GimpRuler: Update from the Gimp gtk3port branch
GimpRuler: Fix some compiler warnings