GTK: fix compilation with GCC 7

Change-Id: Ifde706f4705af406fd4eee61a312d8eb0976d972
Reviewed-on: https://code.wireshark.org/review/22598
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
This commit is contained in:
Pascal Quantin 2017-07-12 11:18:21 +02:00
parent ee699eb720
commit a591436d73
2 changed files with 2 additions and 2 deletions

View File

@ -1281,7 +1281,7 @@ tree_view_key_pressed_cb(GtkWidget *tree,
rc = TRUE;
break;
}
/* No break - fall through to jumping to the parent */
/* else fall through to jumping to the parent */
case GDK_BackSpace:
if (!expanded) {
/* subtree is already collapsed, jump to parent node */

View File

@ -2190,7 +2190,7 @@ static gboolean key_press_event(GtkWidget *widget _U_, GdkEventKey *event, gpoin
do_zoom_out_keyboard(g,
FALSE,
event->state & GDK_CONTROL_MASK);
break;
/* Direction keys */
case GDK_Left:
do_key_motion_left(g, step);