[gnome-applets/wip/muktupavels/werror] inhibit: fix -Wswitch-default warning
- From: Alberts Muktupāvels <muktupavels src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [gnome-applets/wip/muktupavels/werror] inhibit: fix -Wswitch-default warning
 
- Date: Sat,  4 Apr 2020 20:53:30 +0000 (UTC)
 
commit f996c36db40b94fe2765fafb6105ef437a2201fc
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sat Apr 4 21:31:27 2020 +0300
    inhibit: fix -Wswitch-default warning
 gnome-applets/inhibit/inhibit-applet.c | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/gnome-applets/inhibit/inhibit-applet.c b/gnome-applets/inhibit/inhibit-applet.c
index 9cd5ecfed..b88bc9f30 100644
--- a/gnome-applets/inhibit/inhibit-applet.c
+++ b/gnome-applets/inhibit/inhibit-applet.c
@@ -169,6 +169,10 @@ gpm_applet_size_allocate_cb (GtkWidget    *widget,
                case GTK_ORIENTATION_HORIZONTAL:
                        size = allocation->height;
                        break;
+
+               default:
+                       g_assert_not_reached ();
+                       break;
        }
 
        /* copied from button-widget.c in the panel */
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]