From: gnome-perl (bugzilla.gnome.o. <bug...@gn...> - 2010-09-15 00:23:01
|
https://bugzilla.gnome.org/show_bug.cgi?id=629727 gnome-perl | Gtk2 | unspecified Summary: CellLayout get_cells() empty list not undef Classification: Bindings Product: gnome-perl Version: unspecified OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: Normal Component: Gtk2 AssignedTo: gtk...@li... ReportedBy: us...@zi... QAContact: gtk...@li... GNOME target: --- GNOME version: --- Created an attachment (id=170309) View: https://bugzilla.gnome.org/attachment.cgi?id=170309 Review: https://bugzilla.gnome.org/review?bug=629727&attachment=170309 patch and test case When a CellLayout interfaced widget has no renderers I think get_cells() should return an empty list, not an undef. An undef return is rather inconvenient if doing a foreach ($viewer->get_cells). Perhaps per attached. -- Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. |