diff options
| author | Matthias Clasen <mclasen@redhat.com> | 2021-09-14 12:21:34 -0400 |
|---|---|---|
| committer | Matthias Clasen <mclasen@redhat.com> | 2021-09-14 16:38:08 -0400 |
| commit | 5f452a5e6ca5062f809af123a41d3cad9a8edab7 (patch) | |
| tree | 76fd3c9177e4622bbc3870b726a9ba564d7948d0 | |
| parent | 060f2d5f65dca475b3a766eb5a2692696da16101 (diff) | |
| download | gtk+-5f452a5e6ca5062f809af123a41d3cad9a8edab7.tar.gz | |
Annotate gsk_rounded_rect_is_circular as pure
And also mark gsk_rounded_rect_to_string as malloc.
| -rw-r--r-- | gsk/gskroundedrectprivate.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gsk/gskroundedrectprivate.h b/gsk/gskroundedrectprivate.h index 6dfe4b019d..8cd00d3995 100644 --- a/gsk/gskroundedrectprivate.h +++ b/gsk/gskroundedrectprivate.h @@ -24,7 +24,7 @@ void gsk_rounded_rect_scale_affine (GskRoundedRect float dx, float dy); -gboolean gsk_rounded_rect_is_circular (const GskRoundedRect *self); +gboolean gsk_rounded_rect_is_circular (const GskRoundedRect *self) G_GNUC_PURE; void gsk_rounded_rect_path (const GskRoundedRect *self, cairo_t *cr); @@ -33,7 +33,7 @@ void gsk_rounded_rect_to_float (const GskRounde gboolean gsk_rounded_rect_equal (gconstpointer rect1, gconstpointer rect2) G_GNUC_PURE; -char * gsk_rounded_rect_to_string (const GskRoundedRect *self); +char * gsk_rounded_rect_to_string (const GskRoundedRect *self) G_GNUC_MALLOC; G_END_DECLS |
