st: Handle all possible enum values in switch statements
This commit is contained in:
parent
36bbe64898
commit
f983b34784
@ -909,6 +909,10 @@ add_matched_properties (StTheme *a_this,
|
||||
}
|
||||
}
|
||||
break;
|
||||
case AT_RULE_STMT:
|
||||
case AT_PAGE_RULE_STMT:
|
||||
case AT_CHARSET_RULE_STMT:
|
||||
case AT_FONT_FACE_RULE_STMT:
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
@ -1849,6 +1849,8 @@ filter_by_position (GList *children,
|
||||
continue;
|
||||
break;
|
||||
|
||||
case GTK_DIR_TAB_BACKWARD:
|
||||
case GTK_DIR_TAB_FORWARD:
|
||||
default:
|
||||
g_return_val_if_reached (NULL);
|
||||
}
|
||||
@ -2014,6 +2016,8 @@ st_widget_real_navigate_focus (StWidget *widget,
|
||||
case GTK_DIR_RIGHT:
|
||||
sort_box.x2 = sort_box.x1;
|
||||
break;
|
||||
case GTK_DIR_TAB_FORWARD:
|
||||
case GTK_DIR_TAB_BACKWARD:
|
||||
default:
|
||||
g_warn_if_reached ();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user