From: Ross Burton <ross.bur...@intel.com> --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main.c b/src/main.c index 7b8a276..261198e 100644 --- a/src/main.c +++ b/src/main.c @@ -63,7 +63,7 @@ load_style (GtkWidget *widget) provider = gtk_css_provider_new (); gtk_css_provider_load_from_path (GTK_CSS_PROVIDER (provider), PKGDATADIR "/style.css", &error); - if (error) { + if (error && !g_error_matches (error, GTK_CSS_PROVIDER_ERROR, GTK_CSS_PROVIDER_ERROR_IMPORT)) { g_warning ("Cannot load CSS: %s", error->message); g_error_free (error); } else { -- 2.8.1 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto