[gtk+/combo-refactor] 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] Fixed a spot where the created cell view wasnt	getting the model set.
- Date: Fri, 26 Nov 2010 12:38:40 +0000 (UTC)
commit 99227f1dad60087575b1aec083ad99a1bd076a84
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 39ed723..80473a9 100644
--- a/gtk/gtkcombobox.c
+++ b/gtk/gtkcombobox.c
@@ -1018,6 +1018,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]