From 0791924bf7224825e213031727e4e2253aa4ebbc Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sat, 26 Jan 2019 15:05:06 +0100 Subject: 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. --- gtk/gtkcssdimensionvalue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk/gtkcssdimensionvalue.c') 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) -- cgit v1.2.1