summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorDaniel Boles <dboles@src.gnome.org>2017-02-18 21:01:38 +0000
committerDaniel Boles <dboles@src.gnome.org>2017-02-18 21:01:38 +0000
commita1239a9a6acd6c1a0428454a494d87997c1e50ef (patch)
tree55924aa8ac35cb8bcd3ea07250f691ba0adc7d3a /gtk
parent397bced61bb444b893a96e635de4e7b310816443 (diff)
downloadgtk+-a1239a9a6acd6c1a0428454a494d87997c1e50ef.tar.gz
CssSelector: Fix warning for bad pseudo-class name
It was "Missing name of pseudo-class", but the real problem is exactly the opposite: we /have/ been given a name, but it is not a valid one. Change it to "Invalid name of pseudo-class" to minimise confusion.
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtkcssselector.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcssselector.c b/gtk/gtkcssselector.c
index a173e71f06..e1bda12c31 100644
--- a/gtk/gtkcssselector.c
+++ b/gtk/gtkcssselector.c
@@ -1184,7 +1184,7 @@ parse_selector_pseudo_class (GtkCssParser *parser,
}
}
- _gtk_css_parser_error (parser, "Missing name of pseudo-class");
+ _gtk_css_parser_error (parser, "Invalid name of pseudo-class");
if (selector)
_gtk_css_selector_free (selector);
return NULL;