[gtk+] Drop code handling deprecated style properties
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Drop code handling deprecated style properties
- Date: Sun, 17 Sep 2017 21:00:52 +0000 (UTC)
commit d1b77fd60f7911169e283f81d2db7dfbd975b5a2
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Sep 17 16:59:26 2017 -0400
Drop code handling deprecated style properties
We no longer have any deprecated style properties.
gtk/gtkcssprovider.c | 19 -------------------
1 files changed, 0 insertions(+), 19 deletions(-)
---
diff --git a/gtk/gtkcssprovider.c b/gtk/gtkcssprovider.c
index 5515dd7..422abf9 100644
--- a/gtk/gtkcssprovider.c
+++ b/gtk/gtkcssprovider.c
@@ -1153,25 +1153,6 @@ parse_declaration (GtkCssScanner *scanner,
property = _gtk_style_property_lookup (name);
- if (property != NULL && strcmp (name, property->name) != 0)
- {
- gtk_css_provider_error (scanner->provider,
- scanner,
- GTK_CSS_PROVIDER_ERROR,
- GTK_CSS_PROVIDER_ERROR_DEPRECATED,
- "The '%s' property has been renamed to '%s'",
- name, property->name);
- }
- else if (strcmp (name, "engine") == 0)
- {
- gtk_css_provider_error (scanner->provider,
- scanner,
- GTK_CSS_PROVIDER_ERROR,
- GTK_CSS_PROVIDER_ERROR_DEPRECATED,
- "The '%s' property is ignored",
- name);
- }
-
if (!_gtk_css_parser_try (scanner->parser, ":", TRUE))
{
gtk_css_provider_invalid_token (scanner->provider, scanner, "':'");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]