]> Pileus Git - ~andy/gtk/commit
only set the model on ->priv->cell_view if ->priv->cell_view is non-NULL.
authorKristian Rietveld <kris@gtk.org>
Fri, 3 Oct 2003 18:56:24 +0000 (18:56 +0000)
committerKristian Rietveld <kristian@src.gnome.org>
Fri, 3 Oct 2003 18:56:24 +0000 (18:56 +0000)
commit7fc054e9a6fb902a9ee5f8e77582ea3ffcbe2dc5
tree26af225f5db6978d406ddd3b7202ee5fb30af5e5
parent795d24d4599045800b1aa5900a1cd67a2ea06a79
only set the model on ->priv->cell_view if ->priv->cell_view is non-NULL.

Fri Oct  3 20:50:48 2003  Kristian Rietveld  <kris@gtk.org>

* gtk/gtkcombobox.c (gtk_combo_box_set_model): only set the model
on ->priv->cell_view if ->priv->cell_view is non-NULL.

* gtk/gtkcomboboxentry.c: include gtkintl.h, add text_renderer
field to GtkComboBoxEntryPrivate,
(gtk_combo_box_entry_class_init), (gtk_combo_box_entry_init),
(gtk_combo_box_entry_set_property), (gtk_combo_box_entry_get_property),
(gtk_combo_box_entry_set_text_column), (gtk_combo_box_entry_new): add
a construct-only "text_column" property and reorder code to use it
and support inheriting this widget.
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkcombobox.c
gtk/gtkcomboboxentry.c