[epiphany] Rename ephy_web_dom_has_modified_forms to ephy_web_dom_utils_has_modified_forms
- From: Xan Lopez <xan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Rename ephy_web_dom_has_modified_forms to ephy_web_dom_utils_has_modified_forms
- Date: Thu, 28 Feb 2013 17:11:36 +0000 (UTC)
commit 65ecb1073482e223e3126c8e4330b98b05ee73d3
Author: Manuel Rego Casasnovas <rego igalia com>
Date: Thu Feb 28 16:31:59 2013 +0100
Rename ephy_web_dom_has_modified_forms to ephy_web_dom_utils_has_modified_forms
https://bugzilla.gnome.org/show_bug.cgi?id=694659
embed/ephy-web-view.c | 2 +-
embed/web-extension/ephy-web-extension.c | 2 +-
lib/ephy-web-dom-utils.c | 4 ++--
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 96be4c5..3593922 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 2355228..d6e9f53 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 52fb676..40b324b 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 b5dbd25..f3cde81 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]