[gdl/pgriffis/meson-build] win32: Stub broken GDL_TRACE_OBJECT macro



commit 968cd92c3943bfcfef5d6f4da2066f001f14a3db
Author: Patrick Griffis <pgriffis igalia com>
Date:   Mon Oct 18 11:39:50 2021 -0500

    win32: Stub broken GDL_TRACE_OBJECT macro

 gdl/gdl-dock-object.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/gdl/gdl-dock-object.h b/gdl/gdl-dock-object.h
index c060472..c7f3197 100644
--- a/gdl/gdl-dock-object.h
+++ b/gdl/gdl-dock-object.h
@@ -380,6 +380,9 @@ GType                 gdl_dock_object_set_type_for_nick (const gchar *nick,
  *
  * Output a debugging message for the corresponding dock object.
  */
+#ifdef G_OS_WIN32
+#define GDL_TRACE_OBJECT(object, format, args...)
+#else
 #define GDL_TRACE_OBJECT(object, format, args...) \
     G_STMT_START {                            \
     g_log (G_LOG_DOMAIN,                      \
@@ -393,7 +396,7 @@ GType                 gdl_dock_object_set_type_for_nick (const gchar *nick,
            (GTK_IS_OBJECT (object) && g_object_is_floating (object)) ? "(float)" : "", \
            GDL_IS_DOCK_OBJECT (object) ? gdl_dock_object_is_frozen (GDL_DOCK_OBJECT (object)) : -1, \
           ##args); } G_STMT_END
-
+#endif
 
 
 G_END_DECLS


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