forked from osmocom/wireshark
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:
parent
ee699eb720
commit
a591436d73
|
@ -1281,7 +1281,7 @@ tree_view_key_pressed_cb(GtkWidget *tree,
|
||||||
rc = TRUE;
|
rc = TRUE;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
/* No break - fall through to jumping to the parent */
|
/* else fall through to jumping to the parent */
|
||||||
case GDK_BackSpace:
|
case GDK_BackSpace:
|
||||||
if (!expanded) {
|
if (!expanded) {
|
||||||
/* subtree is already collapsed, jump to parent node */
|
/* subtree is already collapsed, jump to parent node */
|
||||||
|
|
|
@ -2190,7 +2190,7 @@ static gboolean key_press_event(GtkWidget *widget _U_, GdkEventKey *event, gpoin
|
||||||
do_zoom_out_keyboard(g,
|
do_zoom_out_keyboard(g,
|
||||||
FALSE,
|
FALSE,
|
||||||
event->state & GDK_CONTROL_MASK);
|
event->state & GDK_CONTROL_MASK);
|
||||||
|
break;
|
||||||
/* Direction keys */
|
/* Direction keys */
|
||||||
case GDK_Left:
|
case GDK_Left:
|
||||||
do_key_motion_left(g, step);
|
do_key_motion_left(g, step);
|
||||||
|
|
Loading…
Reference in New Issue