gnome-online-accounts/gnome-online-accounts-webkitgtk-2.1.90.patch

54 lines
2.0 KiB
Diff

From f5119db95aab7e97a30aca646833bcd72d4ba51f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Se=C3=A1n=20de=20B=C3=BArca?= <leftmostcat@gmail.com>
Date: Wed, 28 Aug 2013 11:02:30 -0600
Subject: [PATCH] Update to new webkitgtk-2.1.90 API
Fixes: https://bugzilla.gnome.org/707006
---
configure.ac | 2 +-
src/goabackend/goaflickrprovider.c | 4 ++--
src/goabackend/goagoogleprovider.c | 6 +++---
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/goabackend/goaflickrprovider.c b/src/goabackend/goaflickrprovider.c
index 66396ba..7505482 100644
--- a/src/goabackend/goaflickrprovider.c
+++ b/src/goabackend/goaflickrprovider.c
@@ -285,8 +285,8 @@ is_deny_node (GoaOAuthProvider *provider, WebKitDOMNode *node)
if (!WEBKIT_DOM_IS_HTML_ANCHOR_ELEMENT (node))
goto out;
- element = WEBKIT_DOM_HTML_ELEMENT (node);
- id = webkit_dom_html_element_get_id (element);
+ element = WEBKIT_DOM_ELEMENT (node);
+ id = webkit_dom_element_get_id (element);
if (g_strcmp0 (id, "auth-disallow") != 0)
goto out;
diff --git a/src/goabackend/goagoogleprovider.c b/src/goabackend/goagoogleprovider.c
index ef28cf6..cee9d96 100644
--- a/src/goabackend/goagoogleprovider.c
+++ b/src/goabackend/goagoogleprovider.c
@@ -270,8 +270,8 @@ is_deny_node (GoaOAuth2Provider *provider, WebKitDOMNode *node)
if (!WEBKIT_DOM_IS_HTML_BUTTON_ELEMENT (node))
goto out;
- element = WEBKIT_DOM_HTML_ELEMENT (node);
- id = webkit_dom_html_element_get_id (element);
+ element = WEBKIT_DOM_ELEMENT (node);
+ id = webkit_dom_element_get_id (element);
if (g_strcmp0 (id, "submit_deny_access") != 0)
goto out;
@@ -300,7 +300,7 @@ is_identity_node (GoaOAuth2Provider *provider, WebKitDOMHTMLInputElement *elemen
if (g_strcmp0 (element_type, "email") != 0)
goto out;
- id = webkit_dom_html_element_get_id (WEBKIT_DOM_HTML_ELEMENT (element));
+ id = webkit_dom_element_get_id (WEBKIT_DOM_ELEMENT (element));
if (g_strcmp0 (id, "Email") != 0)
goto out;
--
1.8.3.1