GNOME Bugzilla – Bug 616710
[Hyena.Data] Handle bad indices in MemoryListModel
Last modified: 2010-04-25 08:57:04 UTC
Makes sure that MemoryListModel returns correct values when bad indices are given. This makes it compatible with how Banshee's MemoryListModel works. Without this, grid view crashes.
Created attachment 159475 [details] [review] [Hyena.Data] Handle bad indices in MemoryListModel
The crash I'm referring to here happens when you use the Hyena MemoryListModel. Banshee does not use this one and as such is not impacted by this crash. Patch originally by Mike.
Review of attachment 159475 [details] [review]: Please add braces for the `if`, other than that the patch looks good.
Comment on attachment 159475 [details] [review] [Hyena.Data] Handle bad indices in MemoryListModel Committed with the mentioned changes, thanks for the quick review! http://git.gnome.org/browse/banshee/commit/?id=185d4a769dcf5446c9ba3138b49008a62ed42998