]> Pileus Git - ~andy/gtk/commit
Bug 538395 – gtk_combo_box_append_text() on non-compliant model
authorMichael Natterer <mitch@imendio.com>
Fri, 20 Jun 2008 10:00:40 +0000 (10:00 +0000)
committerMichael Natterer <mitch@src.gnome.org>
Fri, 20 Jun 2008 10:00:40 +0000 (10:00 +0000)
commit2ba736d775ac4b7dba4437cac75521cebbd62ce0
tree4481de81f4af60952b2187aef2910c983b14e859
parent778be3e8e93c026cc44b8dc940644fec4a822fc1
Bug 538395 – gtk_combo_box_append_text() on non-compliant model

2008-06-20  Michael Natterer  <mitch@imendio.com>

Bug 538395 – gtk_combo_box_append_text() on non-compliant model
segfaults

* gtk/gtkcombobox.c (gtk_combo_box_append_text)
(gtk_combo_box_insert_text)
(gtk_combo_box_prepend_text)
(gtk_combo_box_remove_text)
(gtk_combo_box_real_get_active_text): apply patch from Christian
Dywan which adds the needed g_return_if_fail() to prevent the
crashes.

svn path=/trunk/; revision=20477
ChangeLog
gtk/gtkcombobox.c