diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-11-01 17:20:48 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-11-01 17:20:48 (EDT) |
commit | 028f94c307595c425b9f0d0c142154fb12d7a2fc (patch) | |
tree | 0734ce168aee9a75d1119bfb084daabff3b20872 /src/toolbars | |
parent | d1e8108e044be8a3f2a9f7b64b5b71e8e4e92c6f (diff) | |
download | marquee-028f94c307595c425b9f0d0c142154fb12d7a2fc.zip marquee-028f94c307595c425b9f0d0c142154fb12d7a2fc.tar.gz marquee-028f94c307595c425b9f0d0c142154fb12d7a2fc.tar.bz2 |
MqBackForwardButtonBox: Add default case in static function
Fixes:
CC src/toolbars/navigation/marquee-back-forward-button-box.o
src/toolbars/navigation/back-forward-button-box.c: In function ‘list_item_new’:
src/toolbars/navigation/back-forward-button-box.c:97:2: warning: switch missing default case [-Wswitch-default]
switch (type) {
^
Diffstat (limited to 'src/toolbars')
-rw-r--r-- | src/toolbars/navigation/back-forward-button-box.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/toolbars/navigation/back-forward-button-box.c b/src/toolbars/navigation/back-forward-button-box.c index 491b939..9c55919 100644 --- a/src/toolbars/navigation/back-forward-button-box.c +++ b/src/toolbars/navigation/back-forward-button-box.c @@ -118,6 +118,9 @@ list_item_new(WebKitBackForwardListItem *list_item, gint type) gtk_stack_add_named(GTK_STACK(icon_stack), gtk_radio_button_new(NULL), "current"); break; + default: + g_assert_not_reached(); /* I dun fucked up. */ + break; } box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0); |