diff options
author | Manuel Rego Casasnovas <rego@igalia.com> | 2013-02-28 23:31:59 +0800 |
---|---|---|
committer | Xan Lopez <xan@igalia.com> | 2013-03-01 01:11:25 +0800 |
commit | 65ecb1073482e223e3126c8e4330b98b05ee73d3 (patch) | |
tree | 7737917918c3aa664e9595badfba2e4a6bd4614d | |
parent | 236494702aa8dab1af7992e8f82e1420372fff15 (diff) | |
download | gsoc2013-epiphany-65ecb1073482e223e3126c8e4330b98b05ee73d3.tar gsoc2013-epiphany-65ecb1073482e223e3126c8e4330b98b05ee73d3.tar.gz gsoc2013-epiphany-65ecb1073482e223e3126c8e4330b98b05ee73d3.tar.bz2 gsoc2013-epiphany-65ecb1073482e223e3126c8e4330b98b05ee73d3.tar.lz gsoc2013-epiphany-65ecb1073482e223e3126c8e4330b98b05ee73d3.tar.xz gsoc2013-epiphany-65ecb1073482e223e3126c8e4330b98b05ee73d3.tar.zst gsoc2013-epiphany-65ecb1073482e223e3126c8e4330b98b05ee73d3.zip |
Rename ephy_web_dom_has_modified_forms to ephy_web_dom_utils_has_modified_forms
https://bugzilla.gnome.org/show_bug.cgi?id=694659
-rw-r--r-- | embed/ephy-web-view.c | 2 | ||||
-rw-r--r-- | embed/web-extension/ephy-web-extension.c | 2 | ||||
-rw-r--r-- | lib/ephy-web-dom-utils.c | 4 | ||||
-rw-r--r-- | lib/ephy-web-dom-utils.h | 2 |
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 |