[gnome-panel] panel-xutils: fix switch-default warning



commit 6db837355bb328ae2da9a9c6ab2ea3135c38230f
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Thu Sep 13 17:21:39 2018 +0300

    panel-xutils: fix switch-default warning

 gnome-panel/panel-xutils.c | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/gnome-panel/panel-xutils.c b/gnome-panel/panel-xutils.c
index 5a420a151..52ed9494f 100644
--- a/gnome-panel/panel-xutils.c
+++ b/gnome-panel/panel-xutils.c
@@ -92,6 +92,9 @@ panel_xutils_set_strut (GdkWindow        *gdk_window,
                struts [STRUT_BOTTOM_START] = strut_start;
                struts [STRUT_BOTTOM_END] = strut_end;
                break;
+       default:
+               g_assert_not_reached ();
+               break;
        }
 
        gdk_x11_display_error_trap_push (display);


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