[gnome-applets/wip/muktupavels/werror: 5/5] window-buttons: fix -Wswitch-default warning



commit ad260d0a199d85cbf6a788ce2cb059021b9242b6
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sat Apr 4 18:29:11 2020 +0300

    window-buttons: fix -Wswitch-default warning

 gnome-applets/window-buttons/window-buttons.c | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/gnome-applets/window-buttons/window-buttons.c b/gnome-applets/window-buttons/window-buttons.c
index b18fb03df..d7915a55e 100755
--- a/gnome-applets/window-buttons/window-buttons.c
+++ b/gnome-applets/window-buttons/window-buttons.c
@@ -443,6 +443,9 @@ static gboolean button_release (GtkWidget *event_box, GdkEventButton *event, WBA
                                if ((actions & WNCK_WINDOW_ACTION_CLOSE) == WNCK_WINDOW_ACTION_CLOSE)
                                        wnck_window_close (controlledwindow, GDK_CURRENT_TIME);
                                break;
+                       default:
+                               g_assert_not_reached ();
+                               break;
                }
        }
 


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