gtk: Remove old debug macros

These are no longer used.
This commit is contained in:
Matthias Clasen 2022-09-23 18:51:46 -04:00
parent f33f55bcbb
commit 52b6dbf2b4
2 changed files with 0 additions and 11 deletions

View File

@ -89,14 +89,9 @@ typedef enum {
#define GTK_DEBUG_CHECK(type) G_UNLIKELY (gtk_get_debug_flags () & GTK_DEBUG_##type)
#define GTK_NOTE(type,action) G_STMT_START { \
if (GTK_DEBUG_CHECK (type)) \
{ action; }; } G_STMT_END
#else /* !G_ENABLE_DEBUG */
#define GTK_DEBUG_CHECK(type) 0
#define GTK_NOTE(type, action)
#endif /* G_ENABLE_DEBUG */

View File

@ -140,11 +140,6 @@ GBytes *get_emoji_data (void);
(gtk_get_any_display_debug_flag_set () && \
G_UNLIKELY (gtk_get_display_debug_flags (display) & GTK_DEBUG_##type))
#define GTK_DISPLAY_NOTE(display,type,action) \
G_STMT_START { \
if (GTK_DISPLAY_DEBUG_CHECK (display,type)) { action; }; \
} G_STMT_END
#define GTK_DEBUG(type,...) \
G_STMT_START { \
if (GTK_DEBUG_CHECK (type)) \
@ -160,7 +155,6 @@ GBytes *get_emoji_data (void);
#else
#define GTK_DISPLAY_DEBUG_CHECK(display,type) 0
#define GTK_DISPLAY_NOTE(display,type,action)
#define GTK_DISPLAY_DEBUG(display,type,...)
#define GTK_DEBUG(type,...)