aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2003-10-29 04:34:06 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2003-10-29 04:34:06 +0800
commit4998a603941458209b5b6b2a69ba46335f2dbc27 (patch)
tree707f6886534c9b1a7527746da352c98520741240
parent4df724e9a9fea711098542bc367c657449ba1c49 (diff)
downloadgsoc2013-epiphany-4998a603941458209b5b6b2a69ba46335f2dbc27.tar
gsoc2013-epiphany-4998a603941458209b5b6b2a69ba46335f2dbc27.tar.gz
gsoc2013-epiphany-4998a603941458209b5b6b2a69ba46335f2dbc27.tar.bz2
gsoc2013-epiphany-4998a603941458209b5b6b2a69ba46335f2dbc27.tar.lz
gsoc2013-epiphany-4998a603941458209b5b6b2a69ba46335f2dbc27.tar.xz
gsoc2013-epiphany-4998a603941458209b5b6b2a69ba46335f2dbc27.tar.zst
gsoc2013-epiphany-4998a603941458209b5b6b2a69ba46335f2dbc27.zip
Unref the store once added to the combo.
2003-10-28 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (cmd_bookmarks_import): Unref the store once added to the combo.
-rw-r--r--ChangeLog6
-rw-r--r--src/bookmarks/ephy-bookmarks-editor.c1
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 04203d871..cf4f0f5f9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2003-10-28 Marco Pesenti Gritti <marco@gnome.org>
+ * src/bookmarks/ephy-bookmarks-editor.c: (cmd_bookmarks_import):
+
+ Unref the store once added to the combo.
+
+2003-10-28 Marco Pesenti Gritti <marco@gnome.org>
+
* data/Makefile.am:
Build nautilus server only when the view is enabled
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);