[gtk/wip/chergert/glproto] make inline to avoid warning



commit 0ae9e359fb8a6da3c5ffa96cf11e35047a7d7440
Author: Christian Hergert <chergert redhat com>
Date:   Sun Jan 10 13:02:27 2021 -0800

    make inline to avoid warning
    
    it only gets used when we #if 1

 gsk/next/gskglcommandqueue.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gsk/next/gskglcommandqueue.c b/gsk/next/gskglcommandqueue.c
index 3c8f0eb415..30c283811e 100644
--- a/gsk/next/gskglcommandqueue.c
+++ b/gsk/next/gskglcommandqueue.c
@@ -165,7 +165,7 @@ G_STATIC_ASSERT (sizeof (GskGLCommandBatch) == 32);
 
 G_DEFINE_TYPE (GskGLCommandQueue, gsk_gl_command_queue, G_TYPE_OBJECT)
 
-static void
+static inline void
 gsk_gl_command_queue_capture_png (GskGLCommandQueue *self,
                                   const char        *filename,
                                   guint              width,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]