aboutsummaryrefslogtreecommitdiff
path: root/src/session-dbus.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-03-12 14:14:12 -0600
committerTed Gould <ted@gould.cx>2010-03-12 14:14:12 -0600
commit2922e646021966770309caf17538b4b241885973 (patch)
tree4ad18db27e79e3b823654ce901d34e67e8a8c9a1 /src/session-dbus.c
parent64c34204592848587c9b965c339d75305b35eebe (diff)
downloadayatana-indicator-session-2922e646021966770309caf17538b4b241885973.tar.gz
ayatana-indicator-session-2922e646021966770309caf17538b4b241885973.tar.bz2
ayatana-indicator-session-2922e646021966770309caf17538b4b241885973.zip
Connecting and registering the dbus object.
Diffstat (limited to 'src/session-dbus.c')
-rw-r--r--src/session-dbus.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/session-dbus.c b/src/session-dbus.c
index 2b7443e..3f5e6c7 100644
--- a/src/session-dbus.c
+++ b/src/session-dbus.c
@@ -4,6 +4,10 @@
#include "session-dbus.h"
+static gboolean _session_dbus_server_get_icon (SessionDbus * service, gchar ** icon, GError ** error);
+
+#include "session-dbus-server.h"
+
typedef struct _SessionDbusPrivate SessionDbusPrivate;
struct _SessionDbusPrivate {
gint dummy;
@@ -29,6 +33,8 @@ session_dbus_class_init (SessionDbusClass *klass)
object_class->dispose = session_dbus_dispose;
object_class->finalize = session_dbus_finalize;
+ dbus_g_object_type_install_info(SESSION_DBUS_TYPE, &dbus_glib__session_dbus_server_object_info);
+
return;
}
@@ -52,3 +58,10 @@ session_dbus_finalize (GObject *object)
G_OBJECT_CLASS (session_dbus_parent_class)->finalize (object);
return;
}
+
+static gboolean
+_session_dbus_server_get_icon (SessionDbus * service, gchar ** icon, GError ** error)
+{
+
+ return TRUE;
+}