1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-10-01 08:15:27 +00:00

main-window: Add default case to switch statement

As caught by compiling with `-Wswitch-default`
This commit is contained in:
Evangelos Ribeiro Tzaras 2021-06-02 20:42:50 +02:00
parent 90b598ed5b
commit acc35ad224

View file

@ -331,6 +331,9 @@ state_changed_cb (CallsMainWindow *self,
case CALLS_MANAGER_STATE_NO_PLUGIN: case CALLS_MANAGER_STATE_NO_PLUGIN:
error = _("Can't place calls: No plugin"); error = _("Can't place calls: No plugin");
break; break;
default:
g_assert_not_reached ();
} }
gtk_label_set_text (self->permanent_error_label, error); gtk_label_set_text (self->permanent_error_label, error);