summaryrefslogtreecommitdiff
path: root/gsk/gskroundedrect.h
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2020-01-24 13:17:09 +0100
committerTimm Bäder <mail@baedert.org>2020-01-26 18:21:07 +0100
commit77e0d360ed721fb9a8eb9cebe10346cfda304eb4 (patch)
tree4f3457eecb246b0814502fec9649c655f9f3503f /gsk/gskroundedrect.h
parent942a93250a5227a051017737873b7d40f24b9e59 (diff)
downloadgtk+-77e0d360ed721fb9a8eb9cebe10346cfda304eb4.tar.gz
Add pure and const annotations to various functions
Diffstat (limited to 'gsk/gskroundedrect.h')
-rw-r--r--gsk/gskroundedrect.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gsk/gskroundedrect.h b/gsk/gskroundedrect.h
index d942df5169..64945a1417 100644
--- a/gsk/gskroundedrect.h
+++ b/gsk/gskroundedrect.h
@@ -98,16 +98,16 @@ GskRoundedRect * gsk_rounded_rect_shrink (GskRoundedRect
float left);
GDK_AVAILABLE_IN_ALL
-gboolean gsk_rounded_rect_is_rectilinear (const GskRoundedRect *self);
+gboolean gsk_rounded_rect_is_rectilinear (const GskRoundedRect *self) G_GNUC_PURE;
GDK_AVAILABLE_IN_ALL
gboolean gsk_rounded_rect_contains_point (const GskRoundedRect *self,
- const graphene_point_t *point);
+ const graphene_point_t *point) G_GNUC_PURE;
GDK_AVAILABLE_IN_ALL
gboolean gsk_rounded_rect_contains_rect (const GskRoundedRect *self,
- const graphene_rect_t *rect);
+ const graphene_rect_t *rect) G_GNUC_PURE;
GDK_AVAILABLE_IN_ALL
gboolean gsk_rounded_rect_intersects_rect (const GskRoundedRect *self,
- const graphene_rect_t *rect);
+ const graphene_rect_t *rect) G_GNUC_PURE;
G_END_DECLS