aboutsummaryrefslogtreecommitdiff
path: root/src/datetime-interface.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-08-30 13:59:10 -0500
committerTed Gould <ted@gould.cx>2010-08-30 13:59:10 -0500
commit088f7d086c0a95bd18cc094da185059357ce93ec (patch)
treef197fcf4f81713f66e0cce2bbb41fc668ad5dbc9 /src/datetime-interface.c
parent60d66c4e975f0d8939fc5bf70954002eae16b1d5 (diff)
downloadayatana-indicator-datetime-088f7d086c0a95bd18cc094da185059357ce93ec.tar.gz
ayatana-indicator-datetime-088f7d086c0a95bd18cc094da185059357ce93ec.tar.bz2
ayatana-indicator-datetime-088f7d086c0a95bd18cc094da185059357ce93ec.zip
Adding an object to be the interface object for dbus
Diffstat (limited to 'src/datetime-interface.c')
-rw-r--r--src/datetime-interface.c46
1 files changed, 46 insertions, 0 deletions
diff --git a/src/datetime-interface.c b/src/datetime-interface.c
new file mode 100644
index 0000000..3ea5106
--- /dev/null
+++ b/src/datetime-interface.c
@@ -0,0 +1,46 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include "datetime-interface.h"
+
+static void datetime_interface_class_init (DatetimeInterfaceClass *klass);
+static void datetime_interface_init (DatetimeInterface *self);
+static void datetime_interface_dispose (GObject *object);
+static void datetime_interface_finalize (GObject *object);
+
+G_DEFINE_TYPE (DatetimeInterface, datetime_interface, G_TYPE_OBJECT);
+
+static void
+datetime_interface_class_init (DatetimeInterfaceClass *klass)
+{
+ GObjectClass *object_class = G_OBJECT_CLASS (klass);
+
+ object_class->dispose = datetime_interface_dispose;
+ object_class->finalize = datetime_interface_finalize;
+
+ return;
+}
+
+static void
+datetime_interface_init (DatetimeInterface *self)
+{
+
+ return;
+}
+
+static void
+datetime_interface_dispose (GObject *object)
+{
+
+ G_OBJECT_CLASS (datetime_interface_parent_class)->dispose (object);
+ return;
+}
+
+static void
+datetime_interface_finalize (GObject *object)
+{
+
+ G_OBJECT_CLASS (datetime_interface_parent_class)->finalize (object);
+ return;
+}