Commit 6afb7957 authored by Michael Catanzaro's avatar Michael Catanzaro

Add casts required by the new g_object_ref/unref

parent 646f686c
......@@ -980,6 +980,6 @@ ephy_embed_detach_notification_container (EphyEmbed *embed)
* notification widget, removing it from the container will destroy the
* singleton. To prevent this, add a reference to it before removing it
* from the container. */
gtk_container_remove (GTK_CONTAINER (embed->overlay), g_object_ref (container));
gtk_container_remove (GTK_CONTAINER (embed->overlay), g_object_ref (GTK_WIDGET (container)));
}
}
......@@ -584,7 +584,7 @@ ephy_web_dom_utils_find_form_auth_elements (WebKitDOMHTMLFormElement *form,
g_strcmp0 (element_type, "tel") == 0 ||
g_strcmp0 (element_type, "url") == 0 ||
g_strcmp0 (element_type, "number") == 0) {
username_node = g_object_ref (element);
username_node = g_object_ref (WEBKIT_DOM_HTML_INPUT_ELEMENT (element));
g_free (element_type);
break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment