evince/0001-fix-double-free-of-GtkEntryCompletion.patch
2023-03-14 12:12:28 +01:00

28 lines
883 B
Diff

From 68d71634312ed2ba3b1d9e8bb101d06ccf7b4bc5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nelson=20Ben=C3=ADtez=20Le=C3=B3n?= <nbenitezl@gmail.com>
Date: Sat, 11 Mar 2023 22:23:27 -0400
Subject: [PATCH] fix double free of GtkEntryCompletion
It can be seen when closing Evince
after having used the Outline search.
---
libmisc/ev-page-action-widget.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/libmisc/ev-page-action-widget.c b/libmisc/ev-page-action-widget.c
index d7a70491..e32b1dac 100644
--- a/libmisc/ev-page-action-widget.c
+++ b/libmisc/ev-page-action-widget.c
@@ -615,8 +615,6 @@ ev_page_action_widget_update_links_model (EvPageActionWidget *proxy, GtkTreeMode
(GtkCellLayoutDataFunc) display_completion_text,
proxy, NULL);
gtk_entry_set_completion (GTK_ENTRY (proxy->entry), completion);
-
- g_object_unref (completion);
}
void
--
2.39.2