GNOME Bugzilla – Bug 577668
Gtk2::Gdk::Drawable::draw_segments() allow no segments
Last modified: 2009-07-19 12:51:29 UTC
It'd be good if $drawable->draw_segments accepted an empty list of segments to draw. This is helpful if you make the list with a map or as a built array and might end up with nothing to draw. The code can already do this actually, if a first quad is not made mandatory by the xs arglist, per change below.
Created attachment 131878 [details] [review] let draw_segments() take no segments
Committed: <http://git.gnome.org/cgit/perl-Gtk2/commit/?id=650e0f49>. Thanks!