From 4998a603941458209b5b6b2a69ba46335f2dbc27 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Tue, 28 Oct 2003 20:34:06 +0000 Subject: Unref the store once added to the combo. 2003-10-28 Marco Pesenti Gritti * src/bookmarks/ephy-bookmarks-editor.c: (cmd_bookmarks_import): Unref the store once added to the combo. --- src/bookmarks/ephy-bookmarks-editor.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/bookmarks/ephy-bookmarks-editor.c b/src/bookmarks/ephy-bookmarks-editor.c index f5aae275e..a7907667a 100644 --- a/src/bookmarks/ephy-bookmarks-editor.c +++ b/src/bookmarks/ephy-bookmarks-editor.c @@ -603,6 +603,7 @@ cmd_bookmarks_import (GtkAction *action, combo = gtk_combo_box_new (GTK_TREE_MODEL (store)); gtk_widget_show (combo); g_object_set_data (G_OBJECT (dialog), "combo_box", combo); + g_object_unref (store); cell = gtk_cell_renderer_text_new (); gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (combo), cell, TRUE); -- cgit v1.2.3