[gnome-applets/wip/muktupavels/werror] trash: fix -Wswitch-default warning



commit 504355d311ffcbc4e2eaa1fd3ee12f50f1e558ec
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sat Apr 4 20:59:18 2020 +0300

    trash: fix -Wswitch-default warning

 gnome-applets/trash/trash-applet.c | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/gnome-applets/trash/trash-applet.c b/gnome-applets/trash/trash-applet.c
index d499da2d5..6a833fe6b 100644
--- a/gnome-applets/trash/trash-applet.c
+++ b/gnome-applets/trash/trash-applet.c
@@ -171,6 +171,10 @@ trash_applet_size_allocate (GtkWidget    *widget,
     case GTK_ORIENTATION_HORIZONTAL:
       trash_applet_set_icon_size (applet, allocation->height);
       break;
+
+    default:
+      g_assert_not_reached ();
+      break;
   }
 
   GTK_WIDGET_CLASS (trash_applet_parent_class)


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