summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Thompson <will@willthompson.co.uk>2012-01-30 15:31:47 +0000
committerWill Thompson <will@willthompson.co.uk>2012-01-30 15:31:47 +0000
commit2a8023ac04fdd4a3321f08c9664e63998e8689a3 (patch)
treec54a7b8cc378c8f76f694924d5429d54f130cdbf
parentf7d8ff028c63447e67efe87a5224419ca89bb715 (diff)
PepService: use G_GNUC_WARN_UNUSED_RESULT as needed.
-rw-r--r--wocky/wocky-pep-service.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/wocky/wocky-pep-service.h b/wocky/wocky-pep-service.h
index 7812197..e4e1f39 100644
--- a/wocky/wocky-pep-service.h
+++ b/wocky/wocky-pep-service.h
@@ -74,7 +74,7 @@ GType wocky_pep_service_get_type (void);
WockyPepServiceClass))
WockyPepService * wocky_pep_service_new (const gchar *node,
- gboolean subscribe);
+ gboolean subscribe) G_GNUC_WARN_UNUSED_RESULT;
void wocky_pep_service_start (WockyPepService *self,
WockySession *session);
@@ -87,10 +87,10 @@ void wocky_pep_service_get_async (WockyPepService *self,
WockyStanza * wocky_pep_service_get_finish (WockyPepService *self,
GAsyncResult *result,
- GError **error);
+ GError **error) G_GNUC_WARN_UNUSED_RESULT;
WockyStanza * wocky_pep_service_make_publish_stanza (WockyPepService *self,
- WockyNode **item);
+ WockyNode **item) G_GNUC_WARN_UNUSED_RESULT;
G_END_DECLS