summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2021-08-26 11:15:28 +0000
committerTimm Bäder <mail@baedert.org>2021-08-26 11:15:28 +0000
commit4e2e2d84fc54cf9698719a0216ab0ef4694b8753 (patch)
tree20dbf450a7a1686896421d8b761ca7cc76fec12f
parent887885b6e0110d35f30b24eed024966e2da97c4e (diff)
parenta0c147d246b4ba4ead7114a06bd1c22610a40cea (diff)
downloadgtk+-4e2e2d84fc54cf9698719a0216ab0ef4694b8753.tar.gz
Merge branch 'clang-fallthrough' into 'master'
build: fix implicit-fallthrough errors with clang See merge request GNOME/gtk!3887
-rw-r--r--gtk/gtkimcontextime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkimcontextime.c b/gtk/gtkimcontextime.c
index c8378c836e..8f09cde29d 100644
--- a/gtk/gtkimcontextime.c
+++ b/gtk/gtkimcontextime.c
@@ -724,7 +724,7 @@ gtk_im_context_ime_focus_out (GtkIMContext *context)
context_ime->priv->pretend_empty_preedit = FALSE;
g_free (utf8str);
}
- /* fallthrough */
+ G_GNUC_FALLTHROUGH;
case GTK_WIN32_IME_FOCUS_BEHAVIOR_DISCARD:
gtk_im_context_ime_reset (context);
@@ -1054,7 +1054,7 @@ gtk_im_context_ime_message_filter (GdkWin32Display *display,
default:
break;
}
-
+ break;
default:
break;
}