diff options
author | Benjamin Otte <otte@redhat.com> | 2019-01-26 15:05:06 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2019-04-15 14:40:25 +0200 |
commit | 0791924bf7224825e213031727e4e2253aa4ebbc (patch) | |
tree | d78b0954e1ea1c7fd64a5e9b4f78166d961153ff /gtk/gtkcssdimensionvalue.c | |
parent | 90870194ff132064a3d35438589385be94baf816 (diff) | |
download | gtk+-0791924bf7224825e213031727e4e2253aa4ebbc.tar.gz |
Convert fallthrough comments to G_GNUC_FALLTHROUGH
This way it's very obvious that fallthrough is indeed what we want.
Also bump the glib requirement to 2.59 which introduced
G_GNUC_FALLTHROUGH.
Diffstat (limited to 'gtk/gtkcssdimensionvalue.c')
-rw-r--r-- | gtk/gtkcssdimensionvalue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcssdimensionvalue.c b/gtk/gtkcssdimensionvalue.c index feaaf9a991..0e423e43b4 100644 --- a/gtk/gtkcssdimensionvalue.c +++ b/gtk/gtkcssdimensionvalue.c @@ -104,7 +104,7 @@ gtk_css_value_dimension_compute (GtkCssValue *number, { default: g_assert_not_reached(); - /* fall through */ + G_GNUC_FALLTHROUGH; case GTK_CSS_PERCENT: /* percentages for font sizes are computed, other percentages aren't */ if (property_id == GTK_CSS_PROPERTY_FONT_SIZE) |