aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-10-29 11:33:37 -0500
committerTed Gould <ted@canonical.com>2009-10-29 11:33:37 -0500
commitec0809ed60a94f582ad7111a992fa0f60e493016 (patch)
tree7a0832a0fd60928ca6a35e11950668ef338cf47e
parentb60a7f11342b8711e4bea8a51cc558d30ebbb293 (diff)
downloadlibayatana-indicator-ec0809ed60a94f582ad7111a992fa0f60e493016.tar.gz
libayatana-indicator-ec0809ed60a94f582ad7111a992fa0f60e493016.tar.bz2
libayatana-indicator-ec0809ed60a94f582ad7111a992fa0f60e493016.zip
Putting a dummy implementation in for _new for linking
-rw-r--r--libindicator/indicator-service.c8
-rw-r--r--libindicator/indicator-service.h2
2 files changed, 9 insertions, 1 deletions
diff --git a/libindicator/indicator-service.c b/libindicator/indicator-service.c
index 089c9ad..7a1fa8a 100644
--- a/libindicator/indicator-service.c
+++ b/libindicator/indicator-service.c
@@ -56,3 +56,11 @@ indicator_service_finalize (GObject *object)
G_OBJECT_CLASS (indicator_service_parent_class)->finalize (object);
return;
}
+
+IndicatorService *
+indicator_service_new (gchar * name)
+{
+ GObject * obj = g_object_new(INDICATOR_SERVICE_TYPE, NULL);
+
+ return INDICATOR_SERVICE(obj);
+}
diff --git a/libindicator/indicator-service.h b/libindicator/indicator-service.h
index 63c3f4b..b47a91a 100644
--- a/libindicator/indicator-service.h
+++ b/libindicator/indicator-service.h
@@ -53,7 +53,7 @@ struct _IndicatorService {
GType indicator_service_get_type (void);
-IndicatorService * inidcator_service_new (gchar * name);
+IndicatorService * indicator_service_new (gchar * name);
G_END_DECLS