summaryrefslogtreecommitdiff
path: root/gtk/gtkcombobox.c
diff options
context:
space:
mode:
authorMatthias Clasen <maclas@gmx.de>2004-07-22 03:00:48 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2004-07-22 03:00:48 +0000
commitb23415ee8b836f58755a86897285fe7dd6086606 (patch)
tree15036acd57e0d2b3830aa64f9394976555dd332a /gtk/gtkcombobox.c
parent3d484599d863088249d738f619e753d5cde0eef8 (diff)
downloadgtk+-b23415ee8b836f58755a86897285fe7dd6086606.tar.gz
Don't leak the list store. (#148135, Crispin Flowerday)
Wed Jul 21 22:54:33 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_new_text): Don't leak the list store. (#148135, Crispin Flowerday)
Diffstat (limited to 'gtk/gtkcombobox.c')
-rw-r--r--gtk/gtkcombobox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c
index e28b965c3b..78dbdb05e1 100644
--- a/gtk/gtkcombobox.c
+++ b/gtk/gtkcombobox.c
@@ -2060,7 +2060,7 @@ gtk_combo_box_menu_fill (GtkComboBox *combo_box)
{
GtkCellView *cell_view;
- cell_view = gtk_cell_view_new ();
+ cell_view = GTK_CELL_VIEW (gtk_cell_view_new ());
gtk_cell_view_set_model (cell_view, combo_box->priv->model);
gtk_cell_view_set_displayed_row (cell_view, path);
gtk_widget_show (GTK_WIDGET (cell_view));