rect: Annotate some functions as pure

gdk_rectangle_equal and gdk_rectangle_contains_point are pure.
This commit is contained in:
Matthias Clasen 2023-12-26 21:35:07 -05:00
parent 8418e4276a
commit 99844c8ccf

View File

@ -45,12 +45,12 @@ void gdk_rectangle_union (const GdkRectangle *src1,
GDK_AVAILABLE_IN_ALL
gboolean gdk_rectangle_equal (const GdkRectangle *rect1,
const GdkRectangle *rect2);
const GdkRectangle *rect2) G_GNUC_PURE;
GDK_AVAILABLE_IN_ALL
gboolean gdk_rectangle_contains_point (const GdkRectangle *rect,
int x,
int y);
int y) G_GNUC_PURE;
GDK_AVAILABLE_IN_ALL
GType gdk_rectangle_get_type (void) G_GNUC_CONST;