[gtk/wip/chergert/glproto: 348/526] namespace a bit
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/chergert/glproto: 348/526] namespace a bit
- Date: Tue, 16 Feb 2021 01:14:34 +0000 (UTC)
commit 12390e7f130c3ec3b9068f38ff6711d534aa049d
Author: Christian Hergert <chergert redhat com>
Date: Thu Jan 28 16:18:24 2021 -0800
namespace a bit
gsk/next/ninesliceprivate.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gsk/next/ninesliceprivate.h b/gsk/next/ninesliceprivate.h
index 02d250ec4e..86ac1ac91a 100644
--- a/gsk/next/ninesliceprivate.h
+++ b/gsk/next/ninesliceprivate.h
@@ -39,9 +39,9 @@ enum {
};
static inline bool G_GNUC_PURE
-slice_is_visible (const cairo_rectangle_int_t *r)
+nine_slice_is_visible (const GskGLTextureNineSlice *slice)
{
- return (r->width > 0 && r->height > 0);
+ return slice->rect.width > 0 && slice->rect.height > 0;
}
static inline void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]