diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2012-06-25 23:05:01 +0200 |
---|---|---|
committer | Lars Uebernickel <lars.uebernickel@canonical.com> | 2012-06-25 23:05:01 +0200 |
commit | cf241b32dd111b6b57ddd95bb06f3ad558c00a88 (patch) | |
tree | b5c1f8ac325f198118b43bcc23276f020a509c25 /src/messages-service-dbus.c | |
parent | e500cbf335ba59066db88088ff18a86a4b45113c (diff) | |
download | ayatana-indicator-messages-cf241b32dd111b6b57ddd95bb06f3ad558c00a88.tar.gz ayatana-indicator-messages-cf241b32dd111b6b57ddd95bb06f3ad558c00a88.tar.bz2 ayatana-indicator-messages-cf241b32dd111b6b57ddd95bb06f3ad558c00a88.zip |
messages-service.c: get session bus asynchronously
Diffstat (limited to 'src/messages-service-dbus.c')
-rw-r--r-- | src/messages-service-dbus.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/messages-service-dbus.c b/src/messages-service-dbus.c index 3a39172..211b1f5 100644 --- a/src/messages-service-dbus.c +++ b/src/messages-service-dbus.c @@ -498,3 +498,14 @@ message_service_dbus_set_icon (MessageServiceDbus * self, gboolean hidden) } return; } + +GDBusConnection * +message_service_dbus_get_connection (MessageServiceDbus *msd) +{ + MessageServiceDbusPrivate * priv; + + g_return_val_if_fail (IS_MESSAGE_SERVICE_DBUS (msd), NULL); + + priv = MESSAGE_SERVICE_DBUS_GET_PRIVATE(msd); + return priv->connection; +} |