telepathy: fix compilation error with GCC 8.0
commit5e9d6c43a9d4bed3ae4fab041fe2a4286cf55c95
authorStefan Becker <chemobejk@gmail.com>
Thu, 15 Mar 2018 19:41:48 +0000 (15 21:41 +0200)
committerStefan Becker <chemobejk@gmail.com>
Mon, 20 Aug 2018 09:48:20 +0000 (20 12:48 +0300)
tree562253aadddf047c6746648f2c77a84184a62612
parent14a0a0d2a5832693e32fe14ea138d03ae50e48c2
telepathy: fix compilation error with GCC 8.0

Fedora 28 has moved to GCC 8.0 which adds the warning option
-Wcast-function-type to -Wextra.

The paremeter to g_object_ref() should be wrapped in G_OBJECT() if it is
not of type GObject *.

(cherry picked from commit f5a646d1db4351b2a42864ef9c217117fdfe0510)
src/telepathy/telepathy-search.c
src/telepathy/telepathy-tls.c