summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorTimm Bäder <tbaeder@redhat.com>2020-04-14 16:31:58 +0200
committerTimm Bäder <tbaeder@redhat.com>2020-04-14 16:33:57 +0200
commit0b3cd20be5249c51ec981a66c07a39d54d1d1c9d (patch)
tree2d478ecc79f3c0e91f5421f6bfc995f066018213 /examples
parent3981fff79b368ab007cb1e977741a7fd7bb96821 (diff)
downloadpango-0b3cd20be5249c51ec981a66c07a39d54d1d1c9d.tar.gz
Replace fallthrough comments with G_GNUC_FALLTHROUGH
Diffstat (limited to 'examples')
-rw-r--r--examples/cairotwisted.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/cairotwisted.c b/examples/cairotwisted.c
index d2d1cd30..1572c89a 100644
--- a/examples/cairotwisted.c
+++ b/examples/cairotwisted.c
@@ -234,7 +234,7 @@ parametrize_path (cairo_path_t *path)
case CAIRO_PATH_CLOSE_PATH:
/* Make it look like it's a line_to to last_move_to */
data = (&last_move_to) - 1;
- /* fall through */
+ G_GNUC_FALLTHROUGH;
case CAIRO_PATH_LINE_TO:
parametrization[i] = two_points_distance (&current_point, &data[1]);
current_point = data[1];
@@ -361,7 +361,7 @@ point_on_path (parametrized_path_t *param,
case CAIRO_PATH_CLOSE_PATH:
/* Make it look like it's a line_to to last_move_to */
data = (&last_move_to) - 1;
- /* fall through */
+ G_GNUC_FALLTHROUGH;
case CAIRO_PATH_LINE_TO:
{
ratio = the_x / parametrization[i];