summaryrefslogtreecommitdiff
path: root/gsk
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-07-31 13:13:46 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-07-31 13:13:46 -0400
commit6ab13a6303f49e9d8534ab90a91d70da85248038 (patch)
tree790dc45e03ff1adc719cef6a9fd2fc5810773fca /gsk
parent358f66482dafa7f9b9f8cb3412907e35c186e6be (diff)
downloadgtk+-6ab13a6303f49e9d8534ab90a91d70da85248038.tar.gz
gsk: Don't the always_inline function attribute
Visual C doesn't understand it, and the compiler should know better, anyway.
Diffstat (limited to 'gsk')
-rw-r--r--gsk/gl/gskglrenderer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gsk/gl/gskglrenderer.c b/gsk/gl/gskglrenderer.c
index e2e5d85320..eb503ecdd5 100644
--- a/gsk/gl/gskglrenderer.c
+++ b/gsk/gl/gskglrenderer.c
@@ -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)
{