[yelp/wip/amigadave/webkit2-port: 40/53] yelp-view: Fix runtime warning on close
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [yelp/wip/amigadave/webkit2-port: 40/53] yelp-view: Fix runtime warning on close
- Date: Mon, 22 Jun 2015 14:00:39 +0000 (UTC)
commit 104588846d4fac82b4884ff9baa54744d6fd0439
Author: Carlos Garcia Campos <cgarcia igalia com>
Date: Thu Apr 9 14:36:40 2015 +0200
yelp-view: Fix runtime warning on close
(lt-yelp:2220): GLib-GObject-WARNING **: gsignal.c:2569: instance
'0x203aef0' has no handler with id '252'
Signal fonts-changed is not a WebKitSettings signal, but a YelpSettings
one.
libyelp/yelp-view.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libyelp/yelp-view.c b/libyelp/yelp-view.c
index d7216bd..761291b 100644
--- a/libyelp/yelp-view.c
+++ b/libyelp/yelp-view.c
@@ -435,7 +435,7 @@ yelp_view_dispose (GObject *object)
}
if (priv->fonts_changed > 0) {
- g_signal_handler_disconnect (webkit_web_view_get_settings (WEBKIT_WEB_VIEW (object)),
+ g_signal_handler_disconnect (yelp_settings_get_default (),
priv->fonts_changed);
priv->fonts_changed = 0;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]