mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-08 09:40:10 +00:00
rect: Annotate some functions as pure
gdk_rectangle_equal and gdk_rectangle_contains_point are pure.
This commit is contained in:
parent
8418e4276a
commit
99844c8ccf
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user