qulogic/pidgin

Parents 9bd2e5fe3253
Children 1c7ddad24701
jabber: Fix assignment from incompatible pointer type warning

This patch removes an unneeded cast from a variable which was
causing an "assignment from incompatible pointer type" warning.
--- a/libpurple/protocols/jabber/message.c Thu May 24 14:48:20 2018 +0000
+++ b/libpurple/protocols/jabber/message.c Thu May 24 15:12:34 2018 -0500
@@ -571,7 +571,7 @@
JabberMessageRemoteSmileyAddData *data = NULL;
data = g_slice_new(JabberMessageRemoteSmileyAddData);
- data->conv = g_object_ref(G_OBJECT(conv));
+ data->conv = g_object_ref(conv);
data->shortcut = g_strdup(shortcut);
purple_debug_info("jabber", "smiley data is unknown, "