aboutsummaryrefslogtreecommitdiff
path: root/src/session-dbus.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-03-12 13:58:39 -0600
committerTed Gould <ted@gould.cx>2010-03-12 13:58:39 -0600
commit931ee90269a965820091d1397e4f5ebf123720a7 (patch)
treee09c9073deba052592df64d5c03f30ecfd5e40ba /src/session-dbus.c
parenteed04dff5181b860c8c86281e94018f8228ddc72 (diff)
downloadayatana-indicator-session-931ee90269a965820091d1397e4f5ebf123720a7.tar.gz
ayatana-indicator-session-931ee90269a965820091d1397e4f5ebf123720a7.tar.bz2
ayatana-indicator-session-931ee90269a965820091d1397e4f5ebf123720a7.zip
Adding in base objects
Diffstat (limited to 'src/session-dbus.c')
-rw-r--r--src/session-dbus.c54
1 files changed, 54 insertions, 0 deletions
diff --git a/src/session-dbus.c b/src/session-dbus.c
new file mode 100644
index 0000000..2b7443e
--- /dev/null
+++ b/src/session-dbus.c
@@ -0,0 +1,54 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include "session-dbus.h"
+
+typedef struct _SessionDbusPrivate SessionDbusPrivate;
+struct _SessionDbusPrivate {
+ gint dummy;
+};
+
+#define SESSION_DBUS_GET_PRIVATE(o) \
+(G_TYPE_INSTANCE_GET_PRIVATE ((o), SESSION_DBUS_TYPE, SessionDbusPrivate))
+
+static void session_dbus_class_init (SessionDbusClass *klass);
+static void session_dbus_init (SessionDbus *self);
+static void session_dbus_dispose (GObject *object);
+static void session_dbus_finalize (GObject *object);
+
+G_DEFINE_TYPE (SessionDbus, session_dbus, G_TYPE_OBJECT);
+
+static void
+session_dbus_class_init (SessionDbusClass *klass)
+{
+ GObjectClass *object_class = G_OBJECT_CLASS (klass);
+
+ g_type_class_add_private (klass, sizeof (SessionDbusPrivate));
+
+ object_class->dispose = session_dbus_dispose;
+ object_class->finalize = session_dbus_finalize;
+
+ return;
+}
+
+static void
+session_dbus_init (SessionDbus *self)
+{
+}
+
+static void
+session_dbus_dispose (GObject *object)
+{
+
+ G_OBJECT_CLASS (session_dbus_parent_class)->dispose (object);
+ return;
+}
+
+static void
+session_dbus_finalize (GObject *object)
+{
+
+ G_OBJECT_CLASS (session_dbus_parent_class)->finalize (object);
+ return;
+}