[Xfce4-commits] [xfce/xfce4-panel] 01/01: tasklist: Add a default case with error message
noreply at xfce.org
noreply at xfce.org
Sat Dec 15 10:57:46 CET 2018
This is an automated email from the git hooks/post-receive script.
a j b p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository xfce/xfce4-panel.
commit 050b3fdb31c7fcf79734862287b2b21feb6d8fcf
Author: Alistair Buxton <a.j.buxton at gmail.com>
Date: Tue Dec 4 02:40:33 2018 +0000
tasklist: Add a default case with error message
This silences an annoying warning about GTK_SCROLL_SMOOTH. This
type of event is filtered out earlier so the switch does not
actually need to handle it, but the compiler complains anyway.
---
plugins/tasklist/tasklist-widget.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/plugins/tasklist/tasklist-widget.c b/plugins/tasklist/tasklist-widget.c
index fd9476a..d5e4534 100644
--- a/plugins/tasklist/tasklist-widget.c
+++ b/plugins/tasklist/tasklist-widget.c
@@ -1382,6 +1382,11 @@ xfce_tasklist_scroll_event (GtkWidget *widget,
case GDK_SCROLL_RIGHT:
/* TODO */
break;
+
+ default:
+ panel_debug_filtered (PANEL_DEBUG_TASKLIST, "unknown scrolling event type");
+ break;
+
}
if (lnew != NULL)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list