]> www.fi.muni.cz Git - evince.git/commitdiff
Unref the completion after setting it to the entry
authorNickolay V. Shmyrev <nshmyrev@src.gnome.org>
Mon, 4 Jul 2005 19:12:26 +0000 (19:12 +0000)
committerNickolay V. Shmyrev <nshmyrev@src.gnome.org>
Mon, 4 Jul 2005 19:12:26 +0000 (19:12 +0000)
ChangeLog
shell/ev-page-action.c

index 97ba16672bc6d1df7f324a0d26397f82854d2f4b..d5f16234698086ac0b6648c26215d9dc400a9550 100644 (file)
--- 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
index 99f1d6abe26673ab099ee94e7afa4331aad12e17..4bb63b2f1bc7c7f660e56e7403a1f86f5b58b551 100644 (file)
@@ -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);
        }
 }