Quiet a compiler warning

This was causing warnings in a release build.
This commit is contained in:
Matthias Clasen 2020-01-16 12:17:49 -05:00
parent 5910e5ac6d
commit 3182063ffe

View File

@ -12235,6 +12235,7 @@ gtk_widget_maybe_add_debug_render_nodes (GtkWidget *widget,
GtkSnapshot *snapshot)
{
GtkWidgetPrivate *priv = gtk_widget_get_instance_private (widget);
#ifdef G_ENABLE_DEBUG
GdkDisplay *display = _gtk_widget_get_display (widget);
if (GTK_DISPLAY_DEBUG_CHECK (display, BASELINES))
@ -12255,7 +12256,6 @@ gtk_widget_maybe_add_debug_render_nodes (GtkWidget *widget,
}
}
#ifdef G_ENABLE_DEBUG
if (GTK_DISPLAY_DEBUG_CHECK (display, RESIZE) && priv->highlight_resize)
{
GdkRGBA blue = {0, 0, 1, 0.2};