summaryrefslogtreecommitdiff
path: root/src/gclue-client-info.c
diff options
context:
space:
mode:
authorTeemu Ikonen <tpikonen@mailbox.org>2021-10-20 21:27:15 +0300
committerTeemu Ikonen <tpikonen@mailbox.org>2021-10-21 14:59:12 +0300
commit0e677b3209a1873499cb8185b8d417d9082ac569 (patch)
tree4969d3f7a186438a3603b48039c06f3464af11aa /src/gclue-client-info.c
parent3e713dd38107fc430e41a94ec7964dccd905768e (diff)
downloadgeoclue-0e677b3209a1873499cb8185b8d417d9082ac569.tar.gz
Don't use G_TYPE_INSTANCE_GET_PRIVATE
It has been deprecated since GObject 2.58. Replace with *_get_instance_private() functions generated by GObject G_ADD_PRIVATE macro.
Diffstat (limited to 'src/gclue-client-info.c')
-rw-r--r--src/gclue-client-info.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gclue-client-info.c b/src/gclue-client-info.c
index fbffc2f..7fc2ac7 100644
--- a/src/gclue-client-info.c
+++ b/src/gclue-client-info.c
@@ -415,9 +415,7 @@ gclue_client_info_async_initable_init (GAsyncInitableIface *iface)
static void
gclue_client_info_init (GClueClientInfo *info)
{
- info->priv = G_TYPE_INSTANCE_GET_PRIVATE (info,
- GCLUE_TYPE_CLIENT_INFO,
- GClueClientInfoPrivate);
+ info->priv = gclue_client_info_get_instance_private(info);
}
void