aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--embed/ephy-web-view.c2
-rw-r--r--embed/web-extension/ephy-web-extension.c2
-rw-r--r--lib/ephy-web-dom-utils.c4
-rw-r--r--lib/ephy-web-dom-utils.h2
4 files changed, 5 insertions, 5 deletions
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index 96be4c55d..359392265 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -3440,7 +3440,7 @@ ephy_web_view_has_modified_forms (EphyWebView *view)
g_return_val_if_fail (EPHY_IS_WEB_VIEW (view), FALSE);
WebKitDOMDocument *document = webkit_web_view_get_dom_document (WEBKIT_WEB_VIEW (view));
- return ephy_web_dom_has_modified_forms (document);
+ return ephy_web_dom_utils_has_modified_forms (document);
#endif
}
diff --git a/embed/web-extension/ephy-web-extension.c b/embed/web-extension/ephy-web-extension.c
index 2355228e7..d6e9f5391 100644
--- a/embed/web-extension/ephy-web-extension.c
+++ b/embed/web-extension/ephy-web-extension.c
@@ -61,7 +61,7 @@ handle_method_call (GDBusConnection *connection,
if (g_strcmp0 (method_name, "HasModifiedForms") == 0) {
WebKitDOMDocument *document = webkit_web_page_get_dom_document (web_page);
- gboolean has_modifed_forms = ephy_web_dom_has_modified_forms (document);
+ gboolean has_modifed_forms = ephy_web_dom_utils_has_modified_forms (document);
g_dbus_method_invocation_return_value (invocation, g_variant_new ("(b)", has_modifed_forms));
}
diff --git a/lib/ephy-web-dom-utils.c b/lib/ephy-web-dom-utils.c
index 52fb6766e..40b324bb0 100644
--- a/lib/ephy-web-dom-utils.c
+++ b/lib/ephy-web-dom-utils.c
@@ -30,7 +30,7 @@
#endif
/**
- * ephy_web_dom_has_modified_forms:
+ * ephy_web_dom_utils_has_modified_forms:
* @document: the DOM document to check if there are or not modified forms.
*
* A small heuristic is used here. If there's only one input element modified
@@ -42,7 +42,7 @@
* values in the @document.
**/
gboolean
-ephy_web_dom_has_modified_forms (WebKitDOMDocument *document)
+ephy_web_dom_utils_has_modified_forms (WebKitDOMDocument *document)
{
WebKitDOMHTMLCollection *forms;
gulong forms_n;
diff --git a/lib/ephy-web-dom-utils.h b/lib/ephy-web-dom-utils.h
index b5dbd255c..f3cde8184 100644
--- a/lib/ephy-web-dom-utils.h
+++ b/lib/ephy-web-dom-utils.h
@@ -33,7 +33,7 @@
G_BEGIN_DECLS
-gboolean ephy_web_dom_has_modified_forms (WebKitDOMDocument *document);
+gboolean ephy_web_dom_utils_has_modified_forms (WebKitDOMDocument *document);
G_END_DECLS