diff options
Diffstat (limited to 'embed/ephy-web-view.c')
-rw-r--r-- | embed/ephy-web-view.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c index d693cf66c..e5b0b48a9 100644 --- a/embed/ephy-web-view.c +++ b/embed/ephy-web-view.c @@ -1230,7 +1230,7 @@ do_hook_into_links (JSContextRef js_context, EphyWebView *web_view) JSObjectRef obj = JSValueToObject (js_context, link, NULL); char *rel = js_get_element_attribute (js_context, obj, "rel"); - if (g_str_equal (rel, "alternate")) { + if (g_strcmp0 (rel, "alternate") == 0) { char *type = js_get_element_attribute (js_context, obj, "type"); char *title = js_get_element_attribute (js_context, obj, "title"); char *address = js_get_element_attribute (js_context, obj, "href"); |