[gnome-panel/wip-warnings: 3/5] panel-struts.c: add all cases to switch



commit fe35caeac6968e5b21357bf058745573c812bd34
Author: Sebastian Geiger <sbastig gmx net>
Date:   Mon Feb 24 15:46:19 2020 +0100

    panel-struts.c: add all cases to switch

 gnome-panel/panel-struts.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/gnome-panel/panel-struts.c b/gnome-panel/panel-struts.c
index c3c898e43..f0130c663 100644
--- a/gnome-panel/panel-struts.c
+++ b/gnome-panel/panel-struts.c
@@ -165,6 +165,8 @@ panel_struts_allocation_overlapped (PanelStrut   *strut,
                        else
                                return ++skip;
                        break;
+               case PANEL_ORIENTATION_LEFT:
+               case PANEL_ORIENTATION_RIGHT:
                default:
                        g_assert_not_reached ();
                        break;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]