diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-03-21 08:54:22 +0000 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-03-21 10:22:31 +0100 |
commit | ba9a3978d407b63998acf2ed173fbdb965dcfc74 (patch) | |
tree | 948a028129a268cb1626c7952d0c3f7e1f13c556 /src | |
parent | 6a0b2ef766fc208b36cc1f8f6a4c99e354c161e5 (diff) | |
download | ayatana-indicator-session-ba9a3978d407b63998acf2ed173fbdb965dcfc74.tar.gz ayatana-indicator-session-ba9a3978d407b63998acf2ed173fbdb965dcfc74.tar.bz2 ayatana-indicator-session-ba9a3978d407b63998acf2ed173fbdb965dcfc74.zip |
src/service.c: Type-cast assignment from g_object_ref() to avoid incompatible pointer type compiler warning.
Diffstat (limited to 'src')
-rw-r--r-- | src/service.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/service.c b/src/service.c index c506e6f..4fee574 100644 --- a/src/service.c +++ b/src/service.c @@ -1070,7 +1070,7 @@ on_bus_acquired (GDBusConnection * connection, g_debug ("bus acquired: %s", name); - p->conn = g_object_ref (G_OBJECT (connection)); + p->conn = (GDBusConnection*)g_object_ref (G_OBJECT (connection)); /* export the actions */ if ((id = g_dbus_connection_export_action_group (connection, |