telepathy: fix compilation error with GCC 8.0
commitf5a646d1db4351b2a42864ef9c217117fdfe0510
authorStefan Becker <chemobejk@gmail.com>
Thu, 15 Mar 2018 19:41:48 +0000 (15 21:41 +0200)
committerStefan Becker <chemobejk@gmail.com>
Thu, 15 Mar 2018 19:55:16 +0000 (15 21:55 +0200)
tree11fc7fac94dade301d901119989dbcdf1c86d535
parent9f8a16e5f4f1e34cee92533b8990a1e88f191cad
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 *.
src/telepathy/telepathy-search.c
src/telepathy/telepathy-tls.c