diff options
Diffstat (limited to 'libindicate')
-rw-r--r-- | libindicate/indicator-message.c | 6 | ||||
-rw-r--r-- | libindicate/indicator-message.h | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/libindicate/indicator-message.c b/libindicate/indicator-message.c index 3df7b4e..32cf000 100644 --- a/libindicate/indicator-message.c +++ b/libindicate/indicator-message.c @@ -60,3 +60,9 @@ get_indicator_type (IndicateIndicator * indicator) { return "message"; } + +IndicateIndicatorMessage * +indicate_indicator_message_new (void) +{ + return g_object_new(INDICATE_TYPE_INDICATOR_MESSAGE, NULL); +} diff --git a/libindicate/indicator-message.h b/libindicate/indicator-message.h index fb0c30d..ade584e 100644 --- a/libindicate/indicator-message.h +++ b/libindicate/indicator-message.h @@ -8,7 +8,7 @@ G_BEGIN_DECLS -#define INDICATE_TYPE_INDICATOR_MESSAGE (indicator_message_get_type ()) +#define INDICATE_TYPE_INDICATOR_MESSAGE (indicate_indicator_message_get_type ()) #define INDICATE_INDICATOR_MESSAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), INDICATE_TYPE_INDICATOR_MESSAGE, IndicateIndicatorMessage)) #define INDICATE_INDICATOR_MESSAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), INDICATE_TYPE_INDICATOR_MESSAGE, IndicateIndicatorMessageClass)) #define INDICATE_IS_INDICATOR_MESSAGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), INDICATE_TYPE_INDICATOR_MESSAGE)) @@ -29,6 +29,7 @@ IndicateIndicator parent; }; GType indicate_indicator_message_get_type (void); +IndicateIndicatorMessage * indicate_indicator_message_new (void); G_END_DECLS |