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;
|
break;
|
||||||
|
case AT_RULE_STMT:
|
||||||
|
case AT_PAGE_RULE_STMT:
|
||||||
|
case AT_CHARSET_RULE_STMT:
|
||||||
|
case AT_FONT_FACE_RULE_STMT:
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -1849,6 +1849,8 @@ filter_by_position (GList *children,
|
|||||||
continue;
|
continue;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case GTK_DIR_TAB_BACKWARD:
|
||||||
|
case GTK_DIR_TAB_FORWARD:
|
||||||
default:
|
default:
|
||||||
g_return_val_if_reached (NULL);
|
g_return_val_if_reached (NULL);
|
||||||
}
|
}
|
||||||
@ -2014,6 +2016,8 @@ st_widget_real_navigate_focus (StWidget *widget,
|
|||||||
case GTK_DIR_RIGHT:
|
case GTK_DIR_RIGHT:
|
||||||
sort_box.x2 = sort_box.x1;
|
sort_box.x2 = sort_box.x1;
|
||||||
break;
|
break;
|
||||||
|
case GTK_DIR_TAB_FORWARD:
|
||||||
|
case GTK_DIR_TAB_BACKWARD:
|
||||||
default:
|
default:
|
||||||
g_warn_if_reached ();
|
g_warn_if_reached ();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user