mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-30 15:31:34 +00:00
Merge branch 'dont-always-inline' into 'master'
gsk: Don't the always_inline function attribute See merge request GNOME/gtk!2331
This commit is contained in:
commit
0dc6ee2c44
@ -191,7 +191,7 @@ dump_node (GskRenderNode *node,
|
||||
cairo_surface_destroy (surface);
|
||||
}
|
||||
|
||||
static inline bool G_GNUC_PURE __attribute__((always_inline))
|
||||
static inline bool G_GNUC_PURE
|
||||
node_is_invisible (const GskRenderNode *node)
|
||||
{
|
||||
return node->bounds.size.width == 0.0f ||
|
||||
@ -200,7 +200,7 @@ node_is_invisible (const GskRenderNode *node)
|
||||
isnan (node->bounds.size.height);
|
||||
}
|
||||
|
||||
static inline bool G_GNUC_PURE __attribute__((always_inline))
|
||||
static inline bool G_GNUC_PURE
|
||||
graphene_rect_intersects (const graphene_rect_t *r1,
|
||||
const graphene_rect_t *r2)
|
||||
{
|
||||
@ -216,7 +216,7 @@ graphene_rect_intersects (const graphene_rect_t *r1,
|
||||
return true;
|
||||
}
|
||||
|
||||
static inline bool G_GNUC_PURE __attribute__((always_inline))
|
||||
static inline bool G_GNUC_PURE
|
||||
_graphene_rect_contains_rect (const graphene_rect_t *r1,
|
||||
const graphene_rect_t *r2)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user