]> Pileus Git - ~andy/gtk/commit
combobox: Don't allow an individual cell to cheat
authorBenjamin Otte <otte@redhat.com>
Thu, 22 Dec 2011 14:57:21 +0000 (15:57 +0100)
committerBenjamin Otte <otte@redhat.com>
Thu, 22 Dec 2011 23:15:59 +0000 (00:15 +0100)
commit9707d964f77a5d82f806b7fec3ac82f5996f967e
treee063ec3899f67da08cfdfd29ac8284e3b01d9d66
parent8a83f0c2d1443f6bedeec35b6b75a5f883fc52a5
combobox: Don't allow an individual cell to cheat

Make sure we only set sensitive when the cell is sensitive and visible.
Also avoid invalid memory accesses if no cells existed.
gtk/gtkcombobox.c