From 0902fcbb7d63e48fa2cfe9783c7c8e7b4a71f0f9 Mon Sep 17 00:00:00 2001 From: Landry Breuil Date: Thu, 9 Feb 2017 20:15:49 +0100 Subject: [PATCH] Print debug msg with the new value *after* setting the value --- panel-plugin/monitor-label.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panel-plugin/monitor-label.c b/panel-plugin/monitor-label.c index 032bc7f..d70d53f 100644 --- a/panel-plugin/monitor-label.c +++ b/panel-plugin/monitor-label.c @@ -153,8 +153,8 @@ xnlp_monitor_label_set_color (XnlpMonitorLabel *label, GdkRGBA* color) css = g_strdup_printf(".label { color: inherit; }"); #endif } - DBG("setting label css: %s", gtk_css_provider_to_string (label->css_provider)); gtk_css_provider_load_from_data (label->css_provider, css, strlen(css), NULL); + DBG("setting label css: %s", gtk_css_provider_to_string (label->css_provider)); g_free(css); }