GNOME Bugzilla – Bug 762738
[PATCH] Fix -Werror build for clang
Last modified: 2016-03-07 15:13:32 UTC
The attached patch fixes one of the problem, which is caused by conversion from enum to pointer. Other warnings are caused by using deprecated functions webkit_dom_html_element_get_class_name, webkit_dom_html_element_set_class_name, soup_session_async_new, so they cannot be easily fixed.
Created attachment 322471 [details] [review] event-manager: Don't use an enum as a null pointer constant
Review of attachment 322471 [details] [review]: ::: src/empathy-event-manager.c @@ +799,3 @@ /* We are invited to a room */ DEBUG ("Have been invited to %s. Ask user if he wants to accept", + tp_channel_get_identifier (NULL)); This looks as wrong as the original code. Given that EmpathyTpChat is a TpTextChannel, it should be: tp_channel_get_identifier (TP_CHANNEL (tp_chat))
Created attachment 323058 [details] [review] event-manager: Don't use an enum as a TpChannel pointer
Review of attachment 323058 [details] [review]: Thanks for the new patch. It looks good to me.
Attachment 323058 [details] pushed as 0bd09aa - event-manager: Don't use an enum as a TpChannel pointer