[gtk+/combo-refactor: 32/49] Fixed a spot where the created cell view wasnt getting the model set.
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/combo-refactor: 32/49] Fixed a spot where the created cell view wasnt getting the model set.
- Date: Sat, 4 Dec 2010 08:00:03 +0000 (UTC)
commit b8786ff74636142b512d8dd9ab7170ae831a6bfc
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date: Fri Nov 26 13:19:27 2010 +0900
Fixed a spot where the created cell view wasnt getting the model set.
gtk/gtkcombobox.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c
index 2eef7cb..da8db3e 100644
--- a/gtk/gtkcombobox.c
+++ b/gtk/gtkcombobox.c
@@ -1052,6 +1052,7 @@ gtk_combo_box_constructor (GType type,
{
priv->cell_view = gtk_cell_view_new_with_context (priv->area, NULL);
gtk_cell_view_set_fit_model (GTK_CELL_VIEW (priv->cell_view), TRUE);
+ gtk_cell_view_set_model (GTK_CELL_VIEW (priv->cell_view), priv->model);
gtk_container_add (GTK_CONTAINER (combo_box), priv->cell_view);
gtk_widget_show (priv->cell_view);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]