widget: Only print allocation warnings with --enable-debug
authorTimm Bäder <mail@baedert.org>
Sat, 17 Mar 2018 12:14:25 +0000 (13:14 +0100)
committerSimon McVittie <smcv@debian.org>
Tue, 3 Apr 2018 07:41:09 +0000 (08:41 +0100)
commitf3c95967b9e3850ffc86043cd61cf0f7ba85fb92
tree5aad77df028b59fdb54f13ed9c175094f04d0a89
parentaeff1fc534d651686703716e9f33b3c0cd2f4cc6
widget: Only print allocation warnings with --enable-debug

i.e. if G_ENABLE_CONSISTENCY_CHECKS is defined. This makes sense,
considering that this warning is about consistency of internal widget
state.

Origin: upstream, 3.22.30, commit:eb01ba8573bec47e02c8fc4eaf10e2f7cff522dd

Gbp-Pq: Name 0012-widget-Only-print-allocation-warnings-with-enable-de.patch
gtk/gtkwidget.c