forked from AuroraMiddleware/gtk
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)
This commit is contained in:
parent
79ace2b389
commit
3d484599d8
@ -1,6 +1,11 @@
|
||||
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>
|
||||
|
@ -1,6 +1,11 @@
|
||||
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>
|
||||
|
@ -1,6 +1,11 @@
|
||||
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>
|
||||
|
@ -1,6 +1,11 @@
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user