diff options
author | Benjamin Otte <otte@redhat.com> | 2019-01-26 15:05:06 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2019-04-15 14:40:25 +0200 |
commit | 0791924bf7224825e213031727e4e2253aa4ebbc (patch) | |
tree | d78b0954e1ea1c7fd64a5e9b4f78166d961153ff /gtk/gtkcombobox.c | |
parent | 90870194ff132064a3d35438589385be94baf816 (diff) | |
download | gtk+-0791924bf7224825e213031727e4e2253aa4ebbc.tar.gz |
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.
Diffstat (limited to 'gtk/gtkcombobox.c')
-rw-r--r-- | gtk/gtkcombobox.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c index 2ddac29f0b..70963db2f2 100644 --- a/gtk/gtkcombobox.c +++ b/gtk/gtkcombobox.c @@ -2238,7 +2238,7 @@ gtk_combo_box_real_move_active (GtkComboBox *combo_box, &iter, &new_iter); break; } - /* else fall through */ + G_GNUC_FALLTHROUGH; case GTK_SCROLL_PAGE_FORWARD: case GTK_SCROLL_PAGE_DOWN: @@ -2256,7 +2256,7 @@ gtk_combo_box_real_move_active (GtkComboBox *combo_box, &iter, &new_iter); break; } - /* else fall through */ + G_GNUC_FALLTHROUGH; case GTK_SCROLL_PAGE_BACKWARD: case GTK_SCROLL_PAGE_UP: |