diff options
-rw-r--r-- | libindicator/indicator-service.c | 8 | ||||
-rw-r--r-- | libindicator/indicator-service.h | 2 |
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 |