Commit 3d484599 authored by Matthias Clasen's avatar Matthias Clasen

Don't leak the list store. (#148134, Crispin Flowerday)

	* gtk/gtkcombobox.c (gtk_combo_box_new_text): Don't leak the
	list store.  (#148134, Crispin Flowerday)
parent 79ace2b3
Wed Jul 21 22:46:27 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcombobox.c (gtk_combo_box_new_text): Don't leak the
list store. (#148134, Crispin Flowerday)
Wed Jul 21 22:35:47 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcellview.c (gtk_cell_view_finalize): Don't leak the
* gtk/gtkcombobox.c (gtk_combo_box_destroy): Don't leak the
menu. (#148110, Tommi Komulainen)
Wed Jul 21 22:24:10 2004 Matthias Clasen <maclas@gmx.de>
......
Wed Jul 21 22:46:27 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcombobox.c (gtk_combo_box_new_text): Don't leak the
list store. (#148134, Crispin Flowerday)
Wed Jul 21 22:35:47 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcellview.c (gtk_cell_view_finalize): Don't leak the
* gtk/gtkcombobox.c (gtk_combo_box_destroy): Don't leak the
menu. (#148110, Tommi Komulainen)
Wed Jul 21 22:24:10 2004 Matthias Clasen <maclas@gmx.de>
......
Wed Jul 21 22:46:27 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcombobox.c (gtk_combo_box_new_text): Don't leak the
list store. (#148134, Crispin Flowerday)
Wed Jul 21 22:35:47 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcellview.c (gtk_cell_view_finalize): Don't leak the
* gtk/gtkcombobox.c (gtk_combo_box_destroy): Don't leak the
menu. (#148110, Tommi Komulainen)
Wed Jul 21 22:24:10 2004 Matthias Clasen <maclas@gmx.de>
......
Wed Jul 21 22:46:27 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcombobox.c (gtk_combo_box_new_text): Don't leak the
list store. (#148134, Crispin Flowerday)
Wed Jul 21 22:35:47 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcellview.c (gtk_cell_view_finalize): Don't leak the
* gtk/gtkcombobox.c (gtk_combo_box_destroy): Don't leak the
menu. (#148110, Tommi Komulainen)
Wed Jul 21 22:24:10 2004 Matthias Clasen <maclas@gmx.de>
......
......@@ -3825,8 +3825,8 @@ gtk_combo_box_new_text (void)
GtkListStore *store;
store = gtk_list_store_new (1, G_TYPE_STRING);
combo_box = gtk_combo_box_new_with_model (GTK_TREE_MODEL (store));
g_object_unref (store);
cell = gtk_cell_renderer_text_new ();
gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (combo_box), cell, TRUE);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment