[gnome-panel] run-dialog: fix -Wswitch-enum warnings
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel] run-dialog: fix -Wswitch-enum warnings
- Date: Sat, 7 Mar 2020 23:28:07 +0000 (UTC)
commit d8574af200c0182f275027dad526393347812d8a
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Sun Mar 8 01:24:27 2020 +0200
run-dialog: fix -Wswitch-enum warnings
gnome-panel/panel-run-dialog.c | 11 +++++++++++
1 file changed, 11 insertions(+)
---
diff --git a/gnome-panel/panel-run-dialog.c b/gnome-panel/panel-run-dialog.c
index 86cfb6165..c6ae5c427 100644
--- a/gnome-panel/panel-run-dialog.c
+++ b/gnome-panel/panel-run-dialog.c
@@ -844,6 +844,12 @@ get_all_applications_from_alias (GMenuTreeAlias *alias,
break;
}
+ case GMENU_TREE_ITEM_SEPARATOR:
+ case GMENU_TREE_ITEM_HEADER:
+ case GMENU_TREE_ITEM_ALIAS:
+ break;
+
+ case GMENU_TREE_ITEM_INVALID:
default:
break;
}
@@ -880,6 +886,11 @@ get_all_applications_from_dir (GMenuTreeDirectory *directory,
break;
}
+ case GMENU_TREE_ITEM_SEPARATOR:
+ case GMENU_TREE_ITEM_HEADER:
+ break;
+
+ case GMENU_TREE_ITEM_INVALID:
default:
break;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]