[epiphany] web-view: Properly dispose new info bars
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] web-view: Properly dispose new info bars
- Date: Sun, 27 Nov 2016 04:30:42 +0000 (UTC)
commit a0ac2cb739a5af5e42947ac802f7e4254ae282c9
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Sat Nov 26 22:15:12 2016 -0600
web-view: Properly dispose new info bars
embed/ephy-web-view.c | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index ad74394..b6343a9 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -835,6 +835,16 @@ ephy_web_view_dispose (GObject *object)
view->notification_info_bar = NULL;
}
+ if (view->microphone_info_bar) {
+ g_object_remove_weak_pointer (G_OBJECT (view->microphone_info_bar), (gpointer
*)&view->microphone_info_bar);
+ view->microphone_info_bar = NULL;
+ }
+
+ if (view->webcam_info_bar) {
+ g_object_remove_weak_pointer (G_OBJECT (view->webcam_info_bar), (gpointer *)&view->webcam_info_bar);
+ view->webcam_info_bar = NULL;
+ }
+
if (view->password_info_bar) {
g_object_remove_weak_pointer (G_OBJECT (view->password_info_bar), (gpointer *)&view->password_info_bar);
view->password_info_bar = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]