[gtk/matthiasc/css-change-tracking-4: 2/20] Quiet compiler warnings in release builds
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/css-change-tracking-4: 2/20] Quiet compiler warnings in release builds
- Date: Sat, 18 Jan 2020 04:49:16 +0000 (UTC)
commit 6e09c5cee8377db9bbcf8dff06ccbcb8557abe1c
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Jan 16 19:43:05 2020 -0500
Quiet compiler warnings in release builds
gtk/gtkwidget.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index d87f996b1b..4fd0c3a63b 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -12234,8 +12234,8 @@ static inline void
gtk_widget_maybe_add_debug_render_nodes (GtkWidget *widget,
GtkSnapshot *snapshot)
{
- GtkWidgetPrivate *priv = gtk_widget_get_instance_private (widget);
#ifdef G_ENABLE_DEBUG
+ GtkWidgetPrivate *priv = gtk_widget_get_instance_private (widget);
GdkDisplay *display = _gtk_widget_get_display (widget);
if (GTK_DISPLAY_DEBUG_CHECK (display, BASELINES))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]