summaryrefslogtreecommitdiff
path: root/gtk/gtkfilechooserentry.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2019-01-26 15:05:06 +0100
committerBenjamin Otte <otte@redhat.com>2019-04-15 14:40:25 +0200
commit0791924bf7224825e213031727e4e2253aa4ebbc (patch)
treed78b0954e1ea1c7fd64a5e9b4f78166d961153ff /gtk/gtkfilechooserentry.c
parent90870194ff132064a3d35438589385be94baf816 (diff)
downloadgtk+-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/gtkfilechooserentry.c')
-rw-r--r--gtk/gtkfilechooserentry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkfilechooserentry.c b/gtk/gtkfilechooserentry.c
index 7175ccb77d..6d016863b1 100644
--- a/gtk/gtkfilechooserentry.c
+++ b/gtk/gtkfilechooserentry.c
@@ -605,7 +605,7 @@ completion_store_set (GtkFileSystemModel *model,
{
case FULL_PATH_COLUMN:
prefix = chooser_entry->dir_part;
- /* fall through */
+ G_GNUC_FALLTHROUGH;
case DISPLAY_NAME_COLUMN:
if (_gtk_file_info_consider_as_directory (info))
suffix = G_DIR_SEPARATOR_S;