[gtk/debug-envvars-cleanup: 4/6] gsk: drop old debug macros




commit 32807f5c218dac0edc2ec3c7616061def273f5e9
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Sep 22 21:45:39 2022 -0400

    gsk: drop old debug macros
    
    These are no longer used.

 gsk/gskdebugprivate.h | 10 ----------
 1 file changed, 10 deletions(-)
---
diff --git a/gsk/gskdebugprivate.h b/gsk/gskdebugprivate.h
index a8a69dafc3..9714bec1a1 100644
--- a/gsk/gskdebugprivate.h
+++ b/gsk/gskdebugprivate.h
@@ -36,14 +36,6 @@ gboolean gsk_check_debug_flags (GskDebugFlags flags);
 #define GSK_RENDERER_DEBUG_CHECK(renderer,type) \
   G_UNLIKELY ((gsk_renderer_get_debug_flags (renderer) & GSK_DEBUG_ ## type) != 0)
 
-#define GSK_NOTE(type,action)   G_STMT_START {  \
-  if (GSK_DEBUG_CHECK (type)) {                 \
-    action;                                     \
-  }                             } G_STMT_END
-#define GSK_RENDERER_NOTE(renderer,type,action)   G_STMT_START {  \
-  if (GSK_RENDERER_DEBUG_CHECK (renderer,type)) {                 \
-    action;
-
 #define GSK_RENDERER_DEBUG(renderer,type,...)                               \
     if (GSK_RENDERER_DEBUG_CHECK (renderer,type))                           \
       gdk_debug_message (__VA_ARGS__);                                      \
@@ -56,8 +48,6 @@ gboolean gsk_check_debug_flags (GskDebugFlags flags);
 
 #define GSK_DEBUG_CHECK(type)           0
 #define GSK_RENDERER_DEBUG_CHECK(renderer,type) 0
-#define GSK_NOTE(type,action)
-#define GSK_RENDERER_NOTE(renderer,type,action)
 #define GSK_RENDERER_DEBUG(display,type,...)
 #define GSK_DEBUG(type,...)
 


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