diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-01-11 19:05:39 -0500 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2020-01-18 08:49:52 +0100 |
commit | 1efa39672b94ba12f42f386d0eedb7ed6d7c3d03 (patch) | |
tree | 287cd9d8a46d53915936b1d9f07e2a8a9b560c4b /gtk/gtkcssinitialvalue.c | |
parent | 3f38a1c94cccd98aa83aca905708fe2102132784 (diff) | |
download | gtk+-1efa39672b94ba12f42f386d0eedb7ed6d7c3d03.tar.gz |
css: Simplify default values
We no longer need to create one-element arrays or
corners with two identical values.
Diffstat (limited to 'gtk/gtkcssinitialvalue.c')
-rw-r--r-- | gtk/gtkcssinitialvalue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcssinitialvalue.c b/gtk/gtkcssinitialvalue.c index ad3c2e352e..f01b49c612 100644 --- a/gtk/gtkcssinitialvalue.c +++ b/gtk/gtkcssinitialvalue.c @@ -64,7 +64,7 @@ gtk_css_value_initial_compute (GtkCssValue *value, case GTK_CSS_PROPERTY_FONT_FAMILY: settings = gtk_style_provider_get_settings (provider); if (settings && gtk_settings_get_font_family (settings) != NULL) - return _gtk_css_array_value_new (_gtk_css_string_value_new (gtk_settings_get_font_family (settings))); + return _gtk_css_string_value_new (gtk_settings_get_font_family (settings)); break; default: |