aboutsummaryrefslogtreecommitdiff
path: root/src/session-dbus.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-03-12 14:37:58 -0600
committerTed Gould <ted@gould.cx>2010-03-12 14:37:58 -0600
commite504d1d019cf0af9b210d8150a5822f5e4878f4f (patch)
tree2892d149906a758644846efbff0c0a51a4e9512a /src/session-dbus.c
parent0d2c0778772b92815dd1a773f6a5e10ed3c80869 (diff)
downloadayatana-indicator-session-e504d1d019cf0af9b210d8150a5822f5e4878f4f.tar.gz
ayatana-indicator-session-e504d1d019cf0af9b210d8150a5822f5e4878f4f.tar.bz2
ayatana-indicator-session-e504d1d019cf0af9b210d8150a5822f5e4878f4f.zip
Creating our little dbus-object.
Diffstat (limited to 'src/session-dbus.c')
-rw-r--r--src/session-dbus.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/session-dbus.c b/src/session-dbus.c
index fd506ad..60002d0 100644
--- a/src/session-dbus.c
+++ b/src/session-dbus.c
@@ -97,6 +97,12 @@ _session_dbus_server_get_icon (SessionDbus * service, gchar ** icon, GError ** e
return TRUE;
}
+SessionDbus *
+session_dbus_new (void)
+{
+ return SESSION_DBUS(g_object_new(SESSION_DBUS_TYPE, NULL));
+}
+
void
session_dbus_set_name (SessionDbus * session, const gchar * name)
{