Print debug msg with the new value *after* setting the value

master
Landry Breuil 2017-02-09 20:15:49 +01:00
parent c21537cd4b
commit 0902fcbb7d
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}