[epiphany] web-extension: Add missing casts
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] web-extension: Add missing casts
- Date: Thu, 3 Nov 2016 15:19:45 +0000 (UTC)
commit 7c5d710bb9e0ff5fcae4910a4e78a2059414f603
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Thu Nov 3 10:11:29 2016 -0500
web-extension: Add missing casts
https://bugzilla.gnome.org/show_bug.cgi?id=773830
embed/web-extension/ephy-web-extension.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/embed/web-extension/ephy-web-extension.c b/embed/web-extension/ephy-web-extension.c
index 3e7e91d..ac15e12 100644
--- a/embed/web-extension/ephy-web-extension.c
+++ b/embed/web-extension/ephy-web-extension.c
@@ -391,10 +391,10 @@ fill_form_cb (const char *username,
LOG ("Found: user %s pass (hidden)", username_node ? username : "(none)");
if (username_node) {
- g_object_set_data (G_OBJECT (username_node), "ephy-is-auto-filling", TRUE);
+ g_object_set_data (G_OBJECT (username_node), "ephy-is-auto-filling", GINT_TO_POINTER (TRUE));
webkit_dom_html_input_element_set_auto_filled (username_node, TRUE);
webkit_dom_html_input_element_set_editing_value (username_node, username);
- g_object_set_data (G_OBJECT (username_node), "ephy-is-auto-filling", FALSE);
+ g_object_set_data (G_OBJECT (username_node), "ephy-is-auto-filling", GINT_TO_POINTER (FALSE));
}
webkit_dom_html_input_element_set_auto_filled (password_node, TRUE);
webkit_dom_html_input_element_set_editing_value (password_node, password);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]