mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 21:21:21 +00:00
gtk: Remove old debug macros
These are no longer used.
This commit is contained in:
parent
f33f55bcbb
commit
52b6dbf2b4
@ -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 */
|
||||
|
||||
|
@ -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,...)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user