Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNickolay V. Shmyrev <nshmyrev@src.gnome.org>2005-07-04 19:12:26 (GMT)
committer Nickolay V. Shmyrev <nshmyrev@src.gnome.org>2005-07-04 19:12:26 (GMT)
commitec348ae2051c72cd31cb69035cfb64182fcd89d5 (patch)
tree53a3157af7d29ce2dd2baa1d0f49695cdc03825f
parentf01f7f5ea7547d2bcb4891493fb9c59ce8ec5b3c (diff)
Unref the completion after setting it to the entry
-rw-r--r--ChangeLog5
-rw-r--r--shell/ev-page-action.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 97ba166..d5f1623 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
+
+ * shell/ev-page-action.c: unref the completion after setting it to the
+ entry
+
2005-07-04 Matthew S. Wilson <msw@rpath.com>
* tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
diff --git a/shell/ev-page-action.c b/shell/ev-page-action.c
index 99f1d6a..4bb63b2 100644
--- a/shell/ev-page-action.c
+++ b/shell/ev-page-action.c
@@ -479,7 +479,8 @@ update_model (EvPageAction *page, GParamSpec *pspec, EvPageActionWidget *proxy)
(GtkCellLayoutDataFunc) display_completion_text,
proxy, NULL);
gtk_entry_set_completion (GTK_ENTRY (proxy->entry), completion);
-
+
+ g_object_unref (completion);
g_object_unref (model);
}
}