aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libindicate/indicator.c2
-rw-r--r--libindicate/server.c44
2 files changed, 45 insertions, 1 deletions
diff --git a/libindicate/indicator.c b/libindicate/indicator.c
index 0a41c19..74eefbf 100644
--- a/libindicate/indicator.c
+++ b/libindicate/indicator.c
@@ -8,7 +8,7 @@ enum {
LAST_SIGNAL
};
-guint signals[LAST_SIGNAL] = { 0 };
+static guint signals[LAST_SIGNAL] = { 0 };
G_DEFINE_TYPE (IndicateIndicator, indicate_indicator, G_TYPE_OBJECT);
diff --git a/libindicate/server.c b/libindicate/server.c
index 74b3ad7..0a0eab1 100644
--- a/libindicate/server.c
+++ b/libindicate/server.c
@@ -2,3 +2,47 @@
#include "server.h"
#include "dbus-indicate-server.h"
+
+/* Signals */
+enum {
+ INDICATOR_ADDED,
+ INDICATOR_REMOVED,
+ INDICATOR_MODIFIED,
+ LAST_SIGNAL
+};
+
+static guint signals[LAST_SIGNAL] = { 0 };
+
+G_DEFINE_TYPE (IndicateServer, indicate_server, G_TYPE_OBJECT);
+
+/* Prototypes */
+static void indicate_server_finalize (GObject * obj);
+
+/* Code */
+static void
+indicate_server_class_init (IndicateServerClass * class)
+{
+ GObjectClass * gobj;
+ gobj = G_OBJECT_CLASS(class);
+
+ gobj->finalize = indicate_server_finalize;
+
+
+ return;
+}
+
+static void
+indicate_server_init (IndicateServer * server)
+{
+
+
+ return;
+}
+
+static void
+indicate_server_finalize (GObject * obj)
+{
+
+
+ return;
+}