[gtk/ci-jobs: 15/19] Declare global counter only in debug builds
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/ci-jobs: 15/19] Declare global counter only in debug builds
- Date: Tue, 11 Feb 2020 13:41:45 +0000 (UTC)
commit 40046fb2deaa247d2015b6434f03e469d1efab4c
Author: Emmanuele Bassi <ebassi gnome org>
Date: Wed Jan 29 14:02:16 2020 +0100
Declare global counter only in debug builds
gdk/gdkdrawcontext.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/gdk/gdkdrawcontext.c b/gdk/gdkdrawcontext.c
index 5822ed7eb2..06bb351570 100644
--- a/gdk/gdkdrawcontext.c
+++ b/gdk/gdkdrawcontext.c
@@ -175,7 +175,9 @@ gdk_draw_context_class_init (GdkDrawContextClass *klass)
g_object_class_install_properties (gobject_class, LAST_PROP, pspecs);
}
+#ifdef G_ENABLE_DEBUG
static guint pixels_counter;
+#endif
static void
gdk_draw_context_init (GdkDrawContext *self)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]