GNOME Bugzilla – Bug 629723
ComboBox set_model() allow NULL
Last modified: 2010-09-19 16:24:13 UTC
Created attachment 170304 [details] [review] patch and test case ComboBox set_model() accepts NULL for no model in gtk 2.6, perhaps per attached. I'm not sure whether to restrict the _ornull to 2.6 up. It looks like it only provokes an g_assert() in 2.4 so wouldn't matter too much if it was made right for 2.6 and worry later about the previous. I tried a #if with and without _ornull but it doubled up in the generated pod.
Committed: <http://git.gnome.org/browse/perl-Gtk2/commit/?id=58aeee94c3969466c60a2cdefae114634e451e0b>.