Commit d6464573 authored by Emanuele Aina's avatar Emanuele Aina

launch_mgr: Fix a -Werror=implicit-fallthrough instance

Non-release builds use -Werror out of the box so fix one issue preventing them
to succeed by marking a fallthrough explicitly.

GLib has the G_GNUC_FALLTHROUGH macro for this purpose, but it is shipped only
since 2.60 and v2019/buster has 2.58.
Signed-off-by: Emanuele Aina's avatarEmanuele Aina <>
parent 2eeab6ed
......@@ -1377,7 +1377,7 @@ launch_mgr_launch_app_async (CbyEntryPoint *entry_point,
"a valid graphical program",
_cby_entry_point_get_executable_type (entry_point),
cby_entry_point_get_id (entry_point));
/* ... and fall through to return an error */
/* fall through to return an error, with a special comment to make -Werror=implicit-fallthrough happy */
g_task_report_new_error (NULL, callback, user_data,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment