[gtk+/gtk-3-10] cssprovider: Fix error message



commit 2594f3452c306707d52c55300e88e88b10ae495b
Author: Benjamin Otte <otte redhat com>
Date:   Mon Mar 17 02:09:31 2014 +0100

    cssprovider: Fix error message
    
      expected a valid semicolon
    sounds kinda not so great. Make it say
      expected semicolon
    
    Unless somebody can tell me the difference between valid and invalid
    semicolons?

 gtk/gtkcssprovider.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcssprovider.c b/gtk/gtkcssprovider.c
index 0ab26b3..b400fe3 100644
--- a/gtk/gtkcssprovider.c
+++ b/gtk/gtkcssprovider.c
@@ -1743,7 +1743,7 @@ gtk_css_provider_invalid_token (GtkCssProvider *provider,
                           scanner,
                           GTK_CSS_PROVIDER_ERROR,
                           GTK_CSS_PROVIDER_ERROR_SYNTAX,
-                          "expected a valid %s", expected);
+                          "expected %s", expected);
 }
 
 static void 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]