Use G_GNUC_FALLTHROUGH instead of comments

Get the same task done in a bit more C:y way.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/998
This commit is contained in:
Jonas Ådahl
2020-01-09 17:54:28 +01:00
parent 17e20619ec
commit 6e5ac0b585
8 changed files with 19 additions and 19 deletions

View File

@ -282,7 +282,7 @@ meta_screen_cast_monitor_stream_src_enable (MetaScreenCastStreamSrc *src)
g_signal_connect_after (cursor_tracker, "cursor-changed",
G_CALLBACK (cursor_changed),
monitor_src);
/* Intentional fall-through */
G_GNUC_FALLTHROUGH;
case META_SCREEN_CAST_CURSOR_MODE_HIDDEN:
monitor_src->paint_watch =
meta_stage_watch_view (meta_stage,