Index: gtkcombobox.c
===================================================================
RCS file: /cvs/gnome/gtk+/gtk/gtkcombobox.c,v
retrieving revision 1.179
diff -u -p -d -r1.179 gtkcombobox.c
--- gtkcombobox.c	24 Jun 2006 17:53:45 -0000	1.179
+++ gtkcombobox.c	25 Jun 2006 16:00:40 -0000
@@ -2565,6 +2565,9 @@ gtk_cell_view_menu_item_new (GtkComboBox
   GtkRequisition req;
 
   cell_view = gtk_cell_view_new ();
+  item = gtk_menu_item_new ();
+  gtk_container_add (GTK_CONTAINER (item), cell_view);
+
   gtk_cell_view_set_model (GTK_CELL_VIEW (cell_view), model);	  
   path = gtk_tree_model_get_path (model, iter);
   gtk_cell_view_set_displayed_row (GTK_CELL_VIEW (cell_view), path);
@@ -2573,9 +2576,6 @@ gtk_cell_view_menu_item_new (GtkComboBox
   gtk_combo_box_sync_cells (combo_box, GTK_CELL_LAYOUT (cell_view));
   gtk_widget_size_request (cell_view, &req);
   gtk_widget_show (cell_view);
-
-  item = gtk_menu_item_new ();
-  gtk_container_add (GTK_CONTAINER (item), cell_view);
   
   return item;
 }
