aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-03-21 08:54:22 +0000
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-03-21 10:22:31 +0100
commitba9a3978d407b63998acf2ed173fbdb965dcfc74 (patch)
tree948a028129a268cb1626c7952d0c3f7e1f13c556 /src
parent6a0b2ef766fc208b36cc1f8f6a4c99e354c161e5 (diff)
downloadayatana-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.c2
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,