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)
committerTimm Bäder <mail@baedert.org>
Sat, 17 Mar 2018 12:15:33 +0000 (13:15 +0100)
commiteb01ba8573bec47e02c8fc4eaf10e2f7cff522dd
tree135992be4abdf9b79c9bebfa04374d1dc17f20f0
parent7fd9f2d31eb623a41cece887bc6b412121001f3d
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.
gtk/gtkwidget.c