[mutter] clutter/click-action: Fix a couple of fall-through warnings



commit ad76c60ce3d606dd19bda99983f8c5008ba070cd
Author: Jonas Ã…dahl <jadahl gmail com>
Date:   Fri Mar 4 20:48:45 2022 +0100

    clutter/click-action: Fix a couple of fall-through warnings
    
    Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2319>

 clutter/clutter/clutter-click-action.c | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/clutter/clutter/clutter-click-action.c b/clutter/clutter/clutter-click-action.c
index 61ef598b5a..a4e33cc4a6 100644
--- a/clutter/clutter/clutter-click-action.c
+++ b/clutter/clutter/clutter-click-action.c
@@ -308,6 +308,8 @@ clutter_click_action_handle_event (ClutterAction      *action,
     {
     case CLUTTER_TOUCH_BEGIN:
       has_button = FALSE;
+
+      G_GNUC_FALLTHROUGH;
     case CLUTTER_BUTTON_PRESS:
       if (priv->is_held)
         return CLUTTER_EVENT_STOP;
@@ -359,6 +361,8 @@ clutter_click_action_handle_event (ClutterAction      *action,
 
     case CLUTTER_TOUCH_END:
       has_button = FALSE;
+
+      G_GNUC_FALLTHROUGH;
     case CLUTTER_BUTTON_RELEASE:
       if (!priv->is_held)
         return CLUTTER_EVENT_STOP;


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