[epiphany] web-view: Destroy info bar when untracking it
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] web-view: Destroy info bar when untracking it
- Date: Sat, 11 Mar 2017 21:37:10 +0000 (UTC)
commit 3213f7c85a5dd3bf2bfa4dd1200cd210dc52d3de
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Sat Mar 11 15:33:21 2017 -0600
web-view: Destroy info bar when untracking it
hergertme: yesterday i got 2 info bars asking me to save my password after i got the first one wrong
embed/ephy-web-view.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index d4048a8..8c490f6 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -493,6 +493,7 @@ untrack_info_bar (GtkWidget **tracked_info_bar)
if (*tracked_info_bar) {
g_object_remove_weak_pointer (G_OBJECT (*tracked_info_bar), (gpointer *)tracked_info_bar);
+ gtk_widget_destroy (*tracked_info_bar);
*tracked_info_bar = NULL;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]