gdk3: use define_method for Gdk::Rectangle methods